How do I: read files?
There are a couple of functions designed for DuckDB:
PRQL
from (read_parquet 'artists.parquet')
join (read_csv 'albums.csv') (==track_id)
SQL
WITH table_0 AS (
SELECT
*
FROM
read_parquet('artists.parquet')
),
table_1 AS (
SELECT
*
FROM
read_csv_auto('albums.csv')
)
SELECT
table_0.*,
table_1.*
FROM
table_0
JOIN table_1 ON table_0.track_id = table_1.track_id
These don’t currently have all the DuckDB options. If those would be helpful, please log an issue and it’s a fairly easy addition.