alamb commented on issue #9280:
URL: https://github.com/apache/datafusion/issues/9280#issuecomment-2123183351

   > I'd be happy to contribute some docs / examples if you point me at 
something similar.
   
   Thanks @aditanase 🙏 
   
   I would recommend two things:
   
   # Suggestion 1: Change the error message 
   
   Change the error message to include instructions on how to fix the issue
   
   For example, instead of 
   > No suitable object store found for file://
   
   Perhaps it could be something more like
   
   > No object store registered for urls starting with 'file://'. See 
`RuntimeEnv::register_object_store`
   
   # Suggestion 2: Add an example to the docs
   
   Once the error message directs to  `RuntimeEnv::register_object_store` then 
it would be ideal if the docs
   
   
https://docs.rs/datafusion/latest/datafusion/execution/runtime_env/struct.RuntimeEnv.html#method.register_object_store
   
   actually had an example
   
   So that would perhaps take the form of adapting the example above as a doc 
example
   
   Does that make sense?


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