Line 198:
Line 198:
==== DuckDB to query the database ====
==== DuckDB to query the database ====
Here again, this great tool allows to request remote parquet files with the command line.
Here again, this great tool allows to request remote parquet files with the command line.
−
$ duckdb :memory: "SELECT * from 'https://huggingface.co/datasets/openfoodfacts/product-database/resolve/main/food<nowiki/>.parquet' LIMIT 10;"
+
$ duckdb :memory: "SELECT * from 'https://huggingface.co/datasets/openfoodfacts/product-database/resolve/main/food.parquet' LIMIT 10;"
The request can be a bit long (~15 seconds).
The request can be a bit long (~15 seconds).