q
q copied to clipboard
q - Run SQL directly on delimited files and multi-file sqlite databases
Whenever I try running a query against a CSV file, i get the following error: Error('new-line character seen in unquoted field - do you need to open the file in...
Hi, I think this is a great idea! I tried to use "q", though I got inconsistent results with different text files: C:\Users\barryc\Desktop\>"C:\Program Files (x86)\q-TextAsData\q.exe" -H -d, "select Timestamp,Entity,max(Value) from...
Hi, Running a query like this: `SELECT c1 FROM (SELECT c1,sum(c2) FROM result.txt GROUP BY c1) ` results in this error: `No files matching '(SELECT' have been found ` Any...
Hi Harel, just in case you don't mind I have added a setup.py file to your q package. This way it is possible to directly install q from github with...
For example, the query > SELECT name FROM queries.csv WHERE query = 'DELETE FROM dictionary' throws the error : file dictionary cannot be found. Is there a way to escape...
The -t shorthand parameters override specific -d delimiter setting without issuing any indication. This might lead to confusion. Same for output delimiters. A warning needs to be added in such...
Use `if name == '__main__'` for standard command line usage in script. This would also allow to test the code itself.
Some CSV files are encoded in UTF-16LE, so they can be correctly read by M$ Excel But `q` fails when reading them: ``` $ q -H -t -e "UTF-16LE" "select...
Hi @harelba - this is a great project. Once question I have is how to use the API on Windows. I cloned the repository, went in to bin/, and ran...
On 64bit Windows box with 64GBs of RAM I am working on a 1.8 GB csv file that has about 15 million rows of data. Even running a simple: `q...