Skip to content

Duck DB with angular unable to load and query parquet file #1784

Answered by sharath222
sharath222 asked this question in Q&A
Discussion options

You must be logged in to vote

The command read_parquet('test.parquet'))` will read a virtual file registered in DuckDB with the alias "test.parquet". You have to first register a physical file in the DuckDB virtual file system before you can query it.

There are a couple different methods of registering a file show below which was copied from https://duckdb.org/docs/api/wasm/data_ingestion.html#parquet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sharath222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant