asolimando commented on PR #23231:
URL: https://github.com/apache/datafusion/pull/23231#issuecomment-4844773246

   > So essentially we are going to have operators that require a 
`KeyPartitioned` distirbution with two options to achieve this. Repartition via 
`Hash` or repartition via `Range`. [...] Should we only repartition to range if 
it is to a superset of the current range partitioning (example: data 
partitioned on `day` -> repartition to `hour`)?
   
   Filters involving ranges (at least BETWEEN, <=, <, >, >=, involving literals 
at first, but possibly we can do something smart for columns and more complex 
expressions too) could benefit from range partitioning too, as it would allow 
partition pruning of entire partitions without evaluation.


-- 
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]

Reply via email to