Skip to content
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

too many SQL variables #111

Open
razpeitia opened this issue Feb 12, 2019 · 0 comments
Open

too many SQL variables #111

razpeitia opened this issue Feb 12, 2019 · 0 comments

Comments

@razpeitia
Copy link

I'm getting this error because I'm trying to insert around 2000 columns. Which is within the default limit for sqlite3.

I noticed that this is because the maximum number of SQL variables (999 by default).

and this is because the way you insert the rows. I think this should be done in batches.
https://github.com/dinedal/textql/blob/master/storage/sqlite.go#L151-L160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant