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
Inserting from the cli with sqlite-utils insert db table file --nl --batch-size 10000 fails with this missing column error, even though I'm telling it to use the whole file in the first batch.
This seems similar to #18 and #139, but maybe it's unique to --nl?
The text was updated successfully, but these errors were encountered:
rathboma
changed the title
inserting with --nl errors with: sqlite3.OperationalError: table instancedata has no column named x
inserting with --nl errors with: sqlite3.OperationalError: table <table> has no column named <column>
Apr 19, 2021
I decided to treat this as a usability bug: there's a workaround, which is adding --alter - but it's not at all obvious that you should do that. I addressed this in #259.
I have a
jsonl
file, it is 10,000 lines long.Inserting from the cli with
sqlite-utils insert db table file --nl --batch-size 10000
fails with this missing column error, even though I'm telling it to use the whole file in the first batch.This seems similar to #18 and #139, but maybe it's unique to
--nl
?The text was updated successfully, but these errors were encountered: