paleolimbot opened a new issue, #18230:
URL: https://github.com/apache/datafusion/issues/18230

   ### Is your feature request related to a problem or challenge?
   
   The ScalarVariable is represented in terms of `DataType`, and thus plans 
can't 
   
   
https://github.com/apache/datafusion/blob/6ecf76c83043990c253a84d81217349c09258220/datafusion/expr/src/expr.rs#L313-L314
   
   While we are here, it would probably be a good idea to allow the nullability 
to be represented here as well as most other logical expression members can 
store this, too.
   
   ### Describe the solution you'd like
   
   Perhaps the DataType could be updated to a FieldRef or FieldMetdata could be 
added
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   - Issue for updating Cast: https://github.com/apache/datafusion/issues/18060
   - Issue for updating Placeholder: 
https://github.com/apache/datafusion/issues/17862


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