alamb commented on issue #15191: URL: https://github.com/apache/datafusion/issues/15191#issuecomment-5170994551
> It looks like a lot of the prerequisites needed like per-partition statistics are now in-place, and this just needs someone to provide benchmarks to prove the optimization is worthwhile to move it forward. That sounds about right to me too I think also the analysis required (to prove that the ranges of the `ORDER BY ` column sort keys don't overlap) was never completed either Here is our somewhat specialized version in influxdb: https://github.com/influxdata/influxdb/blob/3ac212d488b8cf30a26dd9ddc9f2dc3aa78ed324/core/iox_query/src/physical_optimizer/sort/order_union_sorted_inputs.rs#L45 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
