-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
csvsql can complete without any output #428
Comments
I am also getting the same issue on a large (1.6Gb, 14 million rows) csv. Works with a smaller subset which was created from the top 100 rows. |
Oops, I put that commit message on the repo. I didn't realized I'd inadvertently closed a ticket. |
@stucka I can't download http://download.cms.gov/openpayments/PGYR14_P063015.ZIP Any similar file that produces this behavior? |
Closing: one month without response. |
I'm getting the same issue on a csv file in the Nasa Cassini dataset (http://archive.redfour.io/cassini/cassini_data.zip). After downloading/unzipping the file is under When I run the command: As a workaround for anyone else with this problem I did manage to generate the sql by running the command against a subset of the file, piping the output of
|
Can you run csvsql with |
@jpmckinney running
I guess this makes sense if the program attempts to read the whole file into memory as this is on a low memory laptop (4GB) and the file is > 5GB. |
Ah, yes – and makes sense that taking a subset using |
I've never seen this before. csvsql on one file is doing something weird: No error messages, but also no output whatsoever.
Data is AFAIK clean -- and actually was already processed once by different csvkit util. I'm getting no answer, no nothing, whether I run without a sniffing limit, run with a modest sniffing limit like 20mb, or disable sniffing.
The data set is free, but large:
http://download.cms.gov/openpayments/PGYR14_P063015.ZIP
I rename the 5.5gb (!) file, then do this:
csvgrep -c 12 -m FL gnrl.csv >gnrlfl.csv
That gets me a 350mb file.
First try:
csvsql -i mysql gnrlfl.csv >gnrlfl.sql
0 bytes, no message. Dropped redirect. Dropped MySQL specific. Changed sniffing limit. Eliminated sniffing. Ran on original file. Still get no error message, no output except for a couple blank lines.
The text was updated successfully, but these errors were encountered: