elonazoulay opened a new issue #7546:
URL: https://github.com/apache/pinot/issues/7546


   If a query has grouping columns but no aggregates the aliases are ignored.
   To reproduce start the quick start batch and run the following query:
   ```
   select AtBatting as foo, baseOnBalls as bar from baseballStats 
   group by AtBatting, baseOnBalls
   limit 10
   ```
   Result uses `AtBatting` and `baseOnBalls` instead of `foo`, `bar`
   
   If an aggregate is added then the aliases are correct:
   ```
   select AtBatting as foo, baseOnBalls as bar , count(*) from baseballStats 
   group by AtBatting, baseOnBalls
   limit 10
   ```
   


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