hannerwang opened a new pull request #2408: URL: https://github.com/apache/calcite/pull/2408
for GROUP BY alias substituting: 1. if the GROUP BY expression is an identifier and the identifier can't be resolved to exact one column in current select scope. 2. CUBE, ROLLUP, GROUPING SETS, ROW top level argument behave in the same way with GROUP BY expression. for HAVING alias substituting: 1. any except AGGREGATE or its arguments . -- 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. For queries about this service, please contact Infrastructure at: [email protected]
