-
Notifications
You must be signed in to change notification settings - Fork 591
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
Version 23.12.2 fails to parse some COPY clauses #3388
Comments
Sorry for the trouble @dangoldin, this was an oversight on our end. Should have deployed a minor version. We'll fix this soon and look into deploying a patch. |
All good and appreciate the responsiveness. I just fell back to 23.12.1 in my code and would attempt a fix here but haven't been keeping up with the changes here so it was quicker to quickly file this. |
No worries. This is probably an edge case, because we do have some logic that tries to parse this into a |
FYI @dangoldin just deployed v23.13.1 |
Awesome! Thanks for the quick turn around on this. |
Hey @georgesittas I had the same error message but with REMOVE SQL clausula.
|
This is expected, |
Not sure if I get wrong... but Snowflake examples |
You're right, apologies for not clarifying. I meant that this statement is not supported by SQLGlot. |
Oh, okay. TY. ❤️ 💻 |
We don't plan to do this soon, but well-crafted & tested PRs are welcome. |
Looks as if in prior versions it didn't fully parse and fell back to the default Command but with 23.12.2 it's trying to parse and failing. Maybe we can have it fall back to Command as we work through various options COPY has?
Fully reproducible code snippet
The above gives the following using 23.12.1:
And the following using 23.12.2:
Official Documentation
Please include links to official SQL documentation related to your issue.
The text was updated successfully, but these errors were encountered: