samuelcolvin opened a new pull request, #11307: URL: https://github.com/apache/datafusion/pull/11307
## Which issue does this PR close? fix #11306. ## Rationale for this change See https://github.com/datafusion-contrib/datafusion-functions-json/pull/26 and #11306 ## What changes are included in this PR? Remove the block on aliases as prediates, add test. ## Are these changes tested? Yes, the only wait I could get a failure without this change. ## Are there any user-facing changes? AFAIK, we just allow something that should be allowed. **NOTE:** Aliases were already allowed in binary expressions, just not as full predicates, so this restriction seemed unusually strict. Also the SQL parser wouldn't allow me to build such an expression directly in SQL, e.g. `from x where (y = z) as the_alias` was invalid SQL. -- 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]
