perf(sql): speed up min/max aggregates on designated timestamp#6593
perf(sql): speed up min/max aggregates on designated timestamp#6593bluestreak01 merged 4 commits intomasterfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e4a83d5 to
abfcd56
Compare
|
very cool PR @puzpuzpuz ! we also need this optimisation reflected in the query plan and have tests asserting the intended plan to ensure this perf optimisation does not regress |
@bluestreak01 good idea. Addressed in 48de7da |
[PR Coverage check]😍 pass : 45 / 45 (100.00%) file detail
|
In case of non-keyed GROUP BY queries with
min()/max()functions over the designated timestamp column we can use O(1) operation (take the first/last value) instead of calling SIMD native function: