Q – Run SQL Directly on CSV or TSV Files
harelba.github.io
Q – Run SQL Directly on CSV or TSV Files
1–10 of 62 posts
Re: Q – Run SQL Directly on CSV or TSV Files
#2Whichever tool you end up using, I'm sure it will help out with your CLI data exploration!
Re: Q – Run SQL Directly on CSV or TSV Files
#3Although having them in some columnar format is much better for fast responses.
Re: Q – Run SQL Directly on CSV or TSV Files
#4I'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.
Re: Q – Run SQL Directly on CSV or TSV Files
#5"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
#6Re: Q – Run SQL Directly on CSV or TSV Files
#7Re: Q – Run SQL Directly on CSV or TSV Files
#8Is this similar to CSV virtual tables in sqlite? https://www.sqlite.org/csv.html
Re: Q – Run SQL Directly on CSV or TSV Files
#9Might mix people up with: https://en.m.wikipedia.org/wiki/Q_(programming_language_from...
Re: Q – Run SQL Directly on CSV or TSV Files
#10I have been using Dremio to query large volume of CSV files: https://docs.dremio.com/software/data-sources/files-and-dire... Although having them in some columnar format is much better for fast responses. GitHub: https://github.com/dremio/dremio-oss
Tools like Q are for command line use.
Dremio is a server/web application, right?
They accomplish the same thing but you might deploy a tool like Q on production servers for adhoc log analysis or install it in a docker container. (Not saying you should, just explaining the difference.)