Closed NGA-TRAN closed 2 weeks ago
I start working on this
I updated this ticket's description with some additional background and linked: https://www.influxdata.com/blog/making-recent-value-queries-hundreds-times-faster/
There is a PR for adding this operator here: https://github.com/apache/datafusion/pull/10490
I think this ticket largely duplicates https://github.com/apache/datafusion/issues/10316 so let's use that instead
Is your feature request related to a problem or challenge?
Yes, this is a task of https://github.com/apache/datafusion/issues/10316. We will use the porting
ProgressiveEval
to optimizeSortPreservingMerge
Describe the solution you'd like
In InfluxDB IOx, when the inputs of
SortPreservingMerge
are all sorted on the sort key and their data do not overlap, we replaceSortPreservingMerge
withProgressiveEval
which:We wrote about using this operator here: https://www.influxdata.com/blog/making-recent-value-queries-hundreds-times-faster/
This ticket is to port
ProgressiveEval
from InfluxDB to DataFusionDescribe alternatives you've considered
No response
Additional context
No response