villebro commented on issue #9836:
URL: 
https://github.com/apache/incubator-superset/issues/9836#issuecomment-630901283


   Researching this further turned this up:
   
   > Standard SQL disallows references to column aliases in a WHERE clause. 
This restriction is imposed because when the WHERE clause is evaluated, the 
column value may not yet have been determined.
   
   https://dev.mysql.com/doc/refman/8.0/en/problems-with-alias.html
   
   So it appears we should remove the alias from WHERE clauses by default. Will 
post a PR shortly.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to