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
The following statement works in the CLI (duckdb v 1.1.3):
create secret (
type S3,
endpoint 'my.objectstorage.minio.org',
use_ssl 'true',
url_style 'path',
key_id 'some_s3_user',
secret 'some_s3_secret'
);
from read_parquet('s3://projects/project_details.parquet')
When used in sql-workbench, it seems the endpoint/url-style settings are not being taken into account, which I assume since the JS console has this message:
Access to XMLHttpRequest at 'https://projects.s3.amazonaws.com/project_details.parquet' from origin 'https://sql-workbench.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Instead it looks like some defaults seem to be active, which assume the Amazon S3 service is being used (rather than the S3 compatible minio server I was hoping to read from). Notice that it seems that the settings for endpoint and url_style in the secret both seem to have been ignored. As if the secret that was created is not used at all.
Would CORS come into play as a blocker here as well?
Tested in recent Firefox and Chromium browsers with the same outcome. But as mentioned, it works in the duckdb CLI.
The text was updated successfully, but these errors were encountered:
I tried working around the CORS and remote S3 connectivity for now by starting a proxy using the duckdb cli with the httpserver extension which I start with a command like DUCKDB_HTTPSERVER_FOREGROUND=1 duckdb -init serve.sql, setting up the secret/credentials through a serve.sql file like this one:
The following statement works in the CLI (duckdb v 1.1.3):
When used in
sql-workbench
, it seems the endpoint/url-style settings are not being taken into account, which I assume since the JS console has this message:Instead it looks like some defaults seem to be active, which assume the Amazon S3 service is being used (rather than the S3 compatible minio server I was hoping to read from). Notice that it seems that the settings for endpoint and url_style in the secret both seem to have been ignored. As if the secret that was created is not used at all.
Would CORS come into play as a blocker here as well?
Tested in recent Firefox and Chromium browsers with the same outcome. But as mentioned, it works in the
duckdb
CLI.The text was updated successfully, but these errors were encountered: