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

50 points by ossusermivami 1 month ago | 10 comments
  • alisonatwork 1 month 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 1 month 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?
      • 1 month ago
    • aslakhellesoy 1 month ago
      I wonder how this compares to csvkit [1].

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

      • augusto-moura 1 month ago
        Also relevant, SQLite supports loading CSV files as virtual tables [1]

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

      • smitty1e 1 month ago
        Now I must work on a hieroglyphic extension, so that I can "Sqawk Like an Egyptian".

        I'll show myself out.

      • sargstuff 1 month ago
        sqawk "oberts" extension adding julia and R would faciliate a "something to sqawk about" demo.