wolffcm commented on issue #6108:
URL: 
https://github.com/apache/arrow-datafusion/issues/6108#issuecomment-1520608282

   I think one such place where `Internal` is returned when it should not be is 
here:
   
https://github.com/apache/arrow-datafusion/blob/729586258fe6371e394b8b2caa4e1b55eccbf6c5/datafusion/optimizer/src/optimizer.rs#L307-L311
   
   Logical optimizer rules should be able to fail in a way that advises the 
user on how to correct their query, rather than having the optimizer assume 
that any error is internal. This is relevant to 
https://github.com/influxdata/influxdb_iox/issues/7330


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