-
Hello, I am able to access a parquet file hosted on s3 like this: select count(*) from read_parquet('https://data.source.coop/giswqs/nwi/wetlands/AK_Wetlands.parquet'); However, I get an error when I try to access the same file like this: select count(*) from read_parquet('s3://us-west-2.opendata.source.coop/giswqs/nwi/wetlands/AK_Wetlands.parquet'); The eror I get is: Invalid Error: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://us-west-2.opendata.source.coop.s3.amazonaws.com/giswqs/nwi/wetlands/AK_Wetlands.parquet'. Does this mean that Duckdb wasm can access s3 files only through a custom domain connected to the s3 bucket? PS: I loaded the spatial and httpfs extensions before I ran these commands. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The error is due to a security certificate mismatch - if you try to open the first url, and allow chrome to bypass the error, it will then work |
Beta Was this translation helpful? Give feedback.
The error is due to a security certificate mismatch - if you try to open the first url, and allow chrome to bypass the error, it will then work