ayman-sigma opened a new pull request, #1600:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1600

   Right now the `CompositeAccess` expression is limited to support the 
PostgreSQL syntax like `SELECT (on_hand.item).name FROM on_hand WHERE 
(on_hand.item).price > 9`.
   This PR generalize it to support arbitrary composite access expressions.  
`CompositeAccess` expression is any prefix expression followed by a period then 
an identifier. The `CompositeAccess` itself can also be nested.
   
   This change fixes issues with dialects that can access fields from another 
expression. For example dialects that supports `struct` literal. Something like 
`SELECT struct(1 as a).a` wouldn't work before this PR.


-- 
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: github-unsubscr...@datafusion.apache.org

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


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

Reply via email to