alamb commented on issue #5463:
URL: 
https://github.com/apache/arrow-datafusion/issues/5463#issuecomment-1454206940

   I think we have discussed adding an analysis phase before, specifically for 
TypeCoercion which is also not really an Optimzer.
   
   
https://github.com/apache/arrow-datafusion/blob/e9852074bacd8c891d84eba38b3417aa16a2d18c/datafusion/optimizer/src/optimizer.rs#L210-L211
   
   My personal opinion is it would be best to just add an Analysis phase so we 
have a place to put these types of checks.
   
   Maybe we could start by simply calling it right before the current 
optimizers are called 🤔 


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

Reply via email to