Sqawk: A fusion of SQL and Awk: Applying SQL to text-based data files

by ossusermivamion 5/26/25, 9:11 PMwith 10 comments
by alisonatworkon 5/27/25, 2:39 AM

I was hoping this was going to be a magnificent awk script that somehow implemented an SQL parser. It is not. This is the one time where "written in Rust" in the headline could have been useful, since it would have avoided me wasting a click. This is more like a simple implementation of ClickHouse/DuckDB/SQLite/etc than anything awkish - it's not a streaming tool, it loads the entire dataset into RAM before doing anything.

by aslakhellesoyon 5/27/25, 7:53 AM

I wonder how this compares to csvkit [1].

[1]: https://csvkit.readthedocs.io/

by augusto-mouraon 5/27/25, 12:05 AM

Also relevant, SQLite supports loading CSV files as virtual tables [1]

[1]: https://sqlite.org/csv.html

by smitty1eon 5/26/25, 11:38 PM

Now I must work on a hieroglyphic extension, so that I can "Sqawk Like an Egyptian".

I'll show myself out.

by sargstuffon 5/29/25, 10:02 PM

sqawk "oberts" extension adding julia and R would faciliate a "something to sqawk about" demo.