What it builds
- ✓A single shell pipeline: duckdb | jq | instadash push
- ✓Reads local files, S3, R2, or remote HTTP Parquet directly
- ✓Default demo: top 100 NYC taxi trips by tip percentage
- ✓Sub-2-second end-to-end on the demo query
The key step
duckdb -json -c "
SELECT customer_id, SUM(amount) AS lifetime_value
FROM read_csv_auto('orders.csv')
GROUP BY 1 ORDER BY 2 DESC LIMIT 500;
" \
| jq -c '.[]' \
| instadash push --name customer-ltv --public --tags duckdb,sqlnote ▸
This is the core of the recipe. The full file (including setup, error handling, and the surrounding scaffolding) lives in the GitHub folder linked below — clone or copy it directly.
Run it
Stack
duckdbbashjq
Full source on GitHub
README, runnable code, .env.example, dependencies — all in one folder.