gortiz opened a new pull request, #16577: URL: https://github.com/apache/pinot/pull/16577
Queries like ```sql SELECT count(*) FROM mytable GROUP BY RandomAirports ``` Are erroneous in MSE. Instead, we need to write something like: ```sql SELECT count(*) FROM mytable GROUP BY ARRAY_TO_MV(RandomAirports) ``` But instead of failing with a helpful message, in master we fail at runtime (once servers start the execution) with an illegal casting exception. This PR adds a new check in `ArrayToMvValidationVisitor` to fail with: > Multi-values are not supported as a grouping key in the intermediate stage. Use ARRAY_TO_MV() to group by multi-value column -- 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]
