duckdb-wasm
duckdb-wasm copied to clipboard
S3 is not working properly with DuckDBClient
@domoritz
The following is working nicely in shell.duckdb.org
and with duckdb-client:
SET s3_region='fr-par';
SET s3_endpoint='s3.fr-par.scw.cloud';
SET s3_access_key_id='';
SET s3_secret_access_key='';
SELECT * FROM 's3://file.parquet' LIMIT 5;
but it doesn't return anything in ObservableHQ/DuckdDBClient. SELECT count(*) FROM 's3://file.parquet'
works in ObservableHQ thus the credentials must be the correct ones.
Have you tried specifying a bucket name in the s3:// URI?
@domoritz
This is weird. DuckDBClient is working nicely with Incognito but when the parquet file is in cache SELECT *
is not working but SELECT count(*)
works.