wseaton / sqloxide

Python bindings for sqlparser-rs
MIT License
168 stars 20 forks source link

detailed parse error including line number? #243

Open tooptoop4 opened 1 year ago

tooptoop4 commented 1 year ago

if i supply a large sql file and parse fails , how to see line or exact sql statement that failed to parse?

wseaton commented 1 year ago

I believe this is blocked upstream by https://github.com/sqlparser-rs/sqlparser-rs/issues/757, related MR: https://github.com/sqlparser-rs/sqlparser-rs/pull/839