Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing s3_url_style env variable for s3 like storage (minio) #1072

Closed
Kokopak opened this issue Nov 21, 2022 · 2 comments
Closed

Missing s3_url_style env variable for s3 like storage (minio) #1072

Kokopak opened this issue Nov 21, 2022 · 2 comments

Comments

@Kokopak
Copy link

Kokopak commented Nov 21, 2022

Hi !

I would like to use this library with my self hosted minio but when I set the s3_url_style (according to the httpfs documentation) variable like this :

await conn.query("SET s3_url_style='path';")

in order to prevent the use of s3 vhost, it doesn't work and the library keep using s3 vhost (https://bucket_name.endpoint/resource instead of https://endpoint/bucket_name/resource).

It works in the duckdb-cli and the python library, so I assume it's a problem with the wasm library

@lmangani
Copy link

As a workaround you can set an explicit s3_endpoint URL including the protocol:

SET s3_endpoint='https://custom.endpoint';

@carlopi
Copy link
Collaborator

carlopi commented Mar 23, 2023

Hi @Kokopak!
Did you happen to solve the problem you were faced with?

We are working on proper support for httpfs extension via extension-loading, here the tracking issue: #1202.

Could you experiment on https://shellwip.duckdb.org with LOAD httpfs?

I am closing this for now, join #1202 or feel free to re-open.

@carlopi carlopi closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants