You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a file named t.csv with timestamps, like this:
time
2011-12-13 23:43:52.684
2011-12-13 23:43:52.563
and run csvsql like this:
$ csvsql --db sqlite:///test.db --table t --insert t.csv
You get the below error:
SQLite DateTime type only accepts Python datetime and date objects as input.
It is also strange that it takes more than 5 minutes to give this error, on a file containing 4500 lines with 35 or so columns (one which is the time). The process consumes 100% cpu during this time.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report. It sounds like python-dateutil may be getting flummoxed by that particular format. I'll take a closer look at it when I have a chance.
brwilson
pushed a commit
to brwilson/csvkit
that referenced
this issue
Jan 10, 2012
If you have a file named t.csv with timestamps, like this:
and run csvsql like this:
You get the below error:
It is also strange that it takes more than 5 minutes to give this error, on a file containing 4500 lines with 35 or so columns (one which is the time). The process consumes 100% cpu during this time.
The text was updated successfully, but these errors were encountered: