andygrove opened a new issue, #2370:
URL: https://github.com/apache/arrow-datafusion/issues/2370

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   Rather than returning errors with strings such as "No field 'foo'. Valid 
fields ...', I would like to have a new `DataFusionError::SchemaError` variant 
that returns a strongly-typed enum with the various schema error types. This 
will allow the caller to better see what type of error happened.
   
   This will also probably be slightly more efficient in the cases where we 
expect errors and then ignore them since we will no longer be building up 
strings.
   
   **Describe the solution you'd like**
   As described.
   
   **Describe alternatives you've considered**
   None
   
   **Additional context**
   None
   


-- 
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...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to