rymarm commented on PR #3042:
URL: https://github.com/apache/drill/pull/3042#issuecomment-4155297549

   @cgivre Hi Charles!
   > If a Drill cluster is configured with HashAgg enabled, and a user executes 
a query with collect_to_list_varchar, will Drill fall back to StreamAgg or will 
Drill throw an error? 
   
   Yes, definitely. If a Drill cluster is configured with `HashAgg` enabled and 
`StreamAgg` is enabled either (by default, both `HashAgg` and `StreamAgg` 
operators are enabled), Drill will simply fallback to the `StreamAgg` operator. 
Otherwise, if `HashAgg` is enabled and `StreamAgg` is **DISABLED** - Drill will 
throw an exception `CannotPlanException`, because Drill has only 2 aggregation 
operator implementations at all, and in this case, one is not acceptable, and 
another one is disabled.


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

Reply via email to