Submission timeline
2007–2026One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.
First comments on top threads
HN comment order“Any file is a database if you awk hard enough.” —Bryan Horstmann-Allen https://twitter.com/neilkod/status/914217352564137984 Furthermore, no thread on CSV files can be complete without mentioning this infamous bit of fact-trolling: the ASCII standard has had unit- and record-delimiters baked into it from the beginning. https://ronaldduncan.wordpress.com/2009/10/31/text-file-form...
A satisfied user here. Found it very useful when tools like cut and sort weren't enough, usually when I need to do a join on two different tables (err, files). Left joins work, but I don't think right joins are supported. I've used this in combination with jq as well. I'll use jq to convert json to CSV, and then use SQL to do whatever else.
Yesss. Glad to see this getting some love. I use this tool very frequently in my day-to-day and my work would be so much harder without it. A lot of folks mentioning great projects/solutions that work the same but I love me some good unix piping action: cat data.csv | xsv select 1,3 | q 'select * from - where col1 != "foo"' (xsv: also invaluable on the terminal: https://github.com/BurntSushi/xsv)
well done, I really love the UNIX tiny tools to do things pattern.
The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.
- Breakout years
- 3
- Total points
- 610
- Total comments
- 219
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2017-08-01 | Run SQL directly on CSV files with q (text as data) | type0 | 4 | 0 |
| 2018-11-14 | Q: Run SQL Directly on CSV FilesFirst breakout · Best thread | devy | 284 | 96 |
| 2020-10-06 | Q – Run SQL Directly on CSV or TSV Files: Text as Data | pcr910303 | 11 | 2 |
| 2021-06-07 | Q – Run SQL Directly on CSV or TSV Files | thunderbong | 121 | 63 |
| 2022-09-21 | Q – Run SQL Directly on CSV or TSV FilesLatest 20+ point return | gjvc | 190 | 58 |
