pepijnve commented on issue #18845:
URL: https://github.com/apache/datafusion/issues/18845#issuecomment-3558035853

   The main challenge I see here is that all `ExprSchemable` methods have 
signatures like
   
   ```
   fn get_type(&self, schema: &dyn ExprSchema) -> Result<DataType>;
   ```
   
   the result of the method is dependent on the `schema` argument. As a 
consequence you need to use that to validate the usability/correctness of the 
memorised result. In the proposed `ExprProperties` solution, I'm not sure how 
you would be able to do that.


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