sqlparse
sqlparse copied to clipboard
Unable to parse large files.
I'm trying to parse a SQL schema dump file that I have created using mssql-scripter.
It has about 47k lines and is less than 2MB.
When I run sqlparse on this file to remove comments using sqlparse.format(sqlFile.read(), strip_comments=True).strip() it only removes comments from about 1200+ lines from the beginning.
Is there any limitation to how big the file can be? Is it configurable? I couldn't see it from the readme.
Any pointers here will be very helpful :)