Skip to content

Add a new min_max strategy to ClickHouse iterator

Adam Hegyi requested to merge ah-add-min-max-option-to-ch-iterator into master

What does this MR do and why?

This MR adds a new strategy for determining min-max ranges for the ClickHouse iterator.

See the thread here for more context: !143931 (comment 1762415945)

TLDR: in some cases using ORDER BY x ASC/DESC LIMIT 1 works faster than MIN() and MAX() in ClickHouse.

Edited by Adam Hegyi

Merge request reports