One-liner for running queries against CSV files with SQLite
I figured out how to run a SQL query directly against a CSV file using the sqlite3 command-line utility:
Browse by topic: ab 1 · amplitude 1 · asgi 1 · auth0 2 · aws 9 · awslambda 1 · azure 1 · bash 11 · caddy 1 · chrome 1 · claude-code 2 · clickhouse 2 · cloudflare 10 · cloudrun 8 · cocktails 3 · cookiecutter 2 · cooking 1 · cosmopolitan 1 · css 3 · datasette 19 · deno 3 · digitalocean 1 · discord 1 · django 19 · docker…
Visit til.simonwillison.net → RSS feedOn Hacker News Oct 2020 – Nov 2023
Tools & Productivity 10Software Engineering 8Databases & Data 3Web & Frontend 2Programming Languages 2AI & Machine Learning 1
I figured out how to run a SQL query directly against a CSV file using the sqlite3 command-line utility:
vivym/midjourney-messages on Hugging Face is a large (~8GB) dataset consisting of 55,082,563 Midjourney images - each one with the prompt and a URL to the image hosted on Discord.
Via this comment on Hacker News I started exploring the ClickHouse Playground . It's really cool, and among other things it allows CORS-enabled API hits that can query a decade of history from the GitHub events archive in less than a second.