viirya commented on PR #25692:
URL: https://github.com/apache/datafusion/pull/25692#issuecomment-5857789662

   @NGA-TRAN There's no flag. The scope is narrower than it may look, though. 
`date_bin(interval, time)` on a `Timestamp(Nanosecond, _)` column still 
propagates ordering, so streaming `GROUP BY` / sort elimination is unchanged. 
The cases that now add a sort are s/ms/us timestamp inputs, and nested 
expressions whose range type is unknown (e.g. `date_bin(.., date_trunc(..))`); 
#25668 addresses the latter. What type is your `time` column, and do you use 
`date_bin` over a nested expression? That would tell us whether you're 
affected. Either way, I plan to remove the trade-off with the fix in #25812.
   


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