villebro commented on issue #9836: URL: https://github.com/apache/incubator-superset/issues/9836#issuecomment-630883421
IMO this is a bug in the BigQuery dialect, and should optimally be fixed there, as I see no reason why aliases can be used for everything else except WHERE clauses. But I don't expect Google to respond quickly to a request to change their dialect, so we're probably left with the option of either opening a PR on `pybigquery` to ignore the alias on WHERE clauses or ignoring the alias for WHERE clauses in Superset. As the latter is fairly simple to do and can be fixed quickly, I'd almost propose doing that and leaving a `TODO` in the code to check back from time to time if it has been fixed. ---------------------------------------------------------------- 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]
