ryansun96 opened a new issue, #22863:
URL: https://github.com/apache/datafusion/issues/22863

   ### Is your feature request related to a problem or challenge?
   
   The current categories under DataFusionError is not Mutually Exclusive, 
Collectively Exhaustive (MECE), making it hard to use consistently. 
   
   For example, if the user is developing a custom Object Store, should they 
return DataFusionError::ObjectStore, DataFusionError::IoError, or 
DataFusionError::External? Similarly, for an error happened during the plan 
stage of a custom TableProvider, should that be DataFusionError::Plan, or 
DataFusionError::External?
   
   The "Collectively Exhaustive" part can be hard, since one cannot predict all 
the possible errors; however the Mutually Exclusive property should still hold.
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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