-
Notifications
You must be signed in to change notification settings - Fork 60
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
Can't handle long strings #437
Comments
Can you please provide the steps to reproduce the issue? Is it with interactive mode or from an input file or both? |
I just run |
For any size of xxx.sql? Or for a certain batch size inside the file? |
I have completely no idea, because you're not printing the line number. I also think you don't have to know the size of the SQL file.
If you want to produce the issue, you could create a large blob, e.g 100MB to test it. My input file is exported from a SQLServer. I believe that line is longer than your buffer size, unless there's a line number in the error output, I have no idea which line is the problem. But looks like at least 1000 lines is longer than that. |
thx for the pointer, we'll take a look |
What should I do with bufio.scanner: token too long? Can you use a unbuffered reader?
The text was updated successfully, but these errors were encountered: