tustvold commented on PR #3595:
URL: 
https://github.com/apache/arrow-datafusion/pull/3595#issuecomment-1255918135

   > convert error into None
   
   Because you want to provide context on what the error was? As far as I see 
it the provider has more context about why an object store couldn't be found 
and will produce strictly better errors than ObjectStoreRegistry.
   
   Returning Ok(None) will just get converted into a less useful error by 
ObjectStoreRegistry than the one the ObjectStoreProvider could have produced. 
ObjectStoreRegistry can only say "no store found", the ObjectStoreProvider can 
say " invalid scheme" or "invalid bucket" or "missing credentials", etc...


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