jayshrivastava opened a new issue, #23569:
URL: https://github.com/apache/datafusion/issues/23569

   ### Is your feature request related to a problem or challenge?
   
   Child issue of EPIC https://github.com/apache/datafusion/issues/22395. 
   
   Consider this query 
   ```
   select a, binned
   from my_range_partitioned_table
   group by a, date_bin(1 hour, timestamp, 0) as binned
   ```
   on a table which is `Range` partitioned on `timestamp` by day.
   
   This query should not have a partial aggregate -> repartition -> final 
aggregate pipeline because
   - 1 hour <= 1 day
   - there are no incomplete intervals (ie. there's no 1 hour window which 
overlaps a split point; in other words, there's no 1 hour window that is 
partially in one partition and partially in another)
   
   I believe we probably want to get some of this other satisfaction related 
related work merged first:
   - https://github.com/apache/datafusion/issues/23290 
   - https://github.com/apache/datafusion/issues/23289 
   - https://github.com/apache/datafusion/issues/23451 
   
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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