Jackie-Jiang opened a new issue, #9104:
URL: https://github.com/apache/pinot/issues/9104

   E.g. `SELECT SUM(a) AS a WHERE a > 10` will throw exception because it will 
be rewritten to `SELECT SUM(a) AS a WHERE SUM(A) > 10`
   
   Also, seems alias is not allowed in `WHERE` clause in standard SQL: 
https://docs.oracle.com/cd/E17952_01/mysql-5.7-en/problems-with-alias.html.
   Not sure if we should block alias rewrite in `WHERE` clause because it can 
cause backward incompatible.


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to