batmnnn opened a new pull request, #18243:
URL: https://github.com/apache/datafusion/pull/18243

   ## Which issue does this PR close?
   
   - Closes #18230
   
   ## Rationale for this change
   
   Add richer variable metadata by switching Expr::ScalarVariable to store an 
Arrow Field, allowing planners to retain nullability and metadata when handling 
@var expressions.
   
   ## What changes are included in this PR?
   
   This PR updates ScalarVariable to use FieldRef so it can represent extension 
types and metadata in logical expressions.
   
   ## Are these changes tested?
   
   Yes
   
   ## Are there any user-facing changes?
   
   When planning queries with variables (e.g., @foo), the resulting logical 
expressions carry full field metadata instead of only a data type. This can 
affect downstream components that inspect nullability or custom metadata.
   


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

Reply via email to