You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to use the object_store crate with an HTTP URL, the error message returned is non-intuitive. The error is caused by the object_store crate enforcing HTTPS, but the error message does not clearly indicate this. Instead, it returns a generic error message that can be confusing to users.
The error should be raised after the object store has been retrieved, and it should clearly indicate that the issue is related to the use of HTTP instead of HTTPS. A more intuitive error message would help users quickly identify and resolve the issue.
Describe the bug
When attempting to use the object_store crate with an HTTP URL, the error message returned is non-intuitive. The error is caused by the object_store crate enforcing HTTPS, but the error message does not clearly indicate this. Instead, it returns a generic error message that can be confusing to users.
Error Message:
To Reproduce
Set up a local HTTP server serving a Parquet (or whatever) file at
http://127.0.0.1:3000/hits_0.parquet
.Use the following code snippet to attempt to register the Parquet file with a DataFusion context:
Expected behavior
The error should be raised after the object store has been retrieved, and it should clearly indicate that the issue is related to the use of HTTP instead of HTTPS. A more intuitive error message would help users quickly identify and resolve the issue.
Additional context
Config Option: https://docs.rs/object_store/0.11.2/object_store/enum.ClientConfigKey.html
The text was updated successfully, but these errors were encountered: