Q is a great project! Here's a comparison of Q against some of the other tools out there [0] (including dsq, which I wrote). And there's a benchmark in there too [1]. Whichever tool you end up using, I'm sure it will help out with your CLI data exploration! [0] https://github.com/multiprocessio/dsq#comparisons [1] https://github.com/multiprocessio/dsq#benchmark
dsq is a great tool, using it regularly to work against csv files, and really nice to use.
Q – Run SQL Directly on CSV or TSV Files
21–30 of 62 posts
Re: Q – Run SQL Directly on CSV or TSV Files
#22Re: Q – Run SQL Directly on CSV or TSV Files
#23http://harelba.github.io/q/#requirements "q is packaged as a compiled standalone-executable that has no dependencies, not even python itself." This is not quite true, on MacOS: "q: A full installation of Xcode.app 12.4 is required to compile this software. Installing just the Command Line Tools is not sufficient. Xcode can be installed from the App Store. Error: q: An unsatisfied requirement failed this build."
Re: Q – Run SQL Directly on CSV or TSV Files
#24Since csvkit comes with so many other tools, I'm not sure I see a reason to use q over csvsql
Re: Q – Run SQL Directly on CSV or TSV Files
#25http://harelba.github.io/q/#requirements "q is packaged as a compiled standalone-executable that has no dependencies, not even python itself." This is not quite true, on MacOS: "q: A full installation of Xcode.app 12.4 is required to compile this software. Installing just the Command Line Tools is not sufficient. Xcode can be installed from the App Store. Error: q: An unsatisfied requirement failed this build."
Re: Q – Run SQL Directly on CSV or TSV Files
#26(Not affiliated with Rainbow CSV or RBQL at all, just a happy user)
[0]: https://rbql.org/
Re: Q – Run SQL Directly on CSV or TSV Files
#27https://learn.microsoft.com/en-us/cpp/data/odbc/data-source-...
Re: Q – Run SQL Directly on CSV or TSV Files
#28Check it out: https://superintendent.app -- it is a paid app though.
Re: Q – Run SQL Directly on CSV or TSV Files
#29A 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.
Have you looked at the Unix command ‘join’? This is a cool tool, but I think join is pretty much everywhere.
Re: Q – Run SQL Directly on CSV or TSV Files
#30A 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.