alamb commented on PR #14094:
URL: https://github.com/apache/datafusion/pull/14094#issuecomment-2587976364

   > Do we really need Planning? My thought is that whenever we have Expr and 
Schema we can compute corresponding DataType and Nullability. Therefore, even 
for Planning stage, we can still get the information DataType + Nullability
   
   I think the usecase is for expressions like `arrow_cast` whose output *type* 
depends on the actual value of the arguments (not just the type of the argument)
   
   So like `arrow-cast(String)` can return `Int64` or `Float64` depending on 
the value of the argument -- the value is passed as an `Expr`


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