Database / DuckDB Interview questions
What formats can DuckDB query directly?
DuckDB can read and query several common data formats directly, without a separate load or import step, treating a file (or a set of files) essentially like a table.
SELECT * FROM 'data.parquet'; SELECT * FROM 'events.csv'; SELECT * FROM read_json('logs.json'); SELECT * FROM 's3://my-bucket/data/*.parquet';
Natively supported formats include Parquet, CSV, and JSON, and extensions add support for many more: Iceberg, Delta Lake, and DuckLake tables; Arrow and Avro; Excel spreadsheets; geospatial formats; and, more recently, formats like Vortex and Lance from the broader analytical ecosystem. This direct-query capability is one of DuckDB's most distinctive practical features: an analyst can point a query straight at a folder of Parquet files sitting on local disk or in cloud object storage and start querying immediately, without standing up any infrastructure or running an explicit import job first.
More Related questions...