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

39 ossusermivami 8 5/26/2025, 9:11:58 PM github.com ↗

Comments (8)

alisonatwork · 10h ago
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.
garciasn · 8h ago
Agree; I don’t see how this is anything but SQLite-esque. Other than -F for field separators, I see nothing awkish about this at all, but perhaps I didn’t go into the docs enough?

No comments yet

aslakhellesoy · 4h ago
I wonder how this compares to csvkit [1].

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

augusto-moura · 12h ago
Also relevant, SQLite supports loading CSV files as virtual tables [1]

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

mrbungie · 11h ago
zabzonk · 10h ago
as has odbc from way back when
smitty1e · 13h ago
Now I must work on a hieroglyphic extension, so that I can "Sqawk Like an Egyptian".

I'll show myself out.

sargstuff · 10h ago
(IMHO) perhaps ide box as an intermediate step. aka sqwak box with support for ascii animations.[0] Then, can present a "sqwak like an egyptian" demo. Perhaps extened support for converting data to floppy[1] / modem[2] sounds.

[0] : https://github.com/octobanana/asciimation

[1] :a) https://www.youtube.com/watch?v=D2iswCnV9ec

  b)  https://www.youtube.com/watch?v=kCCXRerqaJI
[2] : https://www.youtube.com/watch?v=k992RwXBbrY