anothersmith / node-duckdb

DuckDB NodeJS bindings
MIT License
48 stars 12 forks source link

Is that possible to use this client with remote files #135

Open goldengrisha opened 2 years ago

goldengrisha commented 2 years ago

Hi, please help, I would like to use remote files like:

SELECT * FROM PARQUET_SCAN('https://github.com/KTH-Library/cordis-data/releases/download/0.0.1/projectPublications.parquet?raw=true') LIMIT 10;

Is that possible? Thank you.

rprovodenko commented 2 years ago

Hey, yep it is. Just need to use the latest version of node-duckdb (0.0.79). You can consult this test for reference https://github.com/deepcrawl/node-duckdb/blob/master/src/tests/http-s3.test.ts#L22