gianm opened a new pull request, #14367:
URL: https://github.com/apache/druid/pull/14367

   The same aggregator can have two output names for a SQL like:
   
   ```
     INSERT INTO foo
     SELECT x, COUNT(*) AS y, COUNT(*) AS z
     FROM t
     GROUP BY 1
     PARTITIONED BY ALL
   ```
   
   In this case, the SQL planner will create a query with a single "count" 
aggregator mapped to output names "y" and "z". The prior MSQ code did not 
properly handle this case, instead throwing an error like:
   
   ```
     Expected single output for query column[a0] but got [[1, 2]]
   ```


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