-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) #2108
Fix issue 2106: Add parsing functionality for MySQL ADD PARTITION and DROP PARTITION clauses in ALTER TABLE statements(2) #2108
Conversation
… feature/partition
… CREATE TABLE tests
Hello, |
Signed-off-by: Andreas Reichel <[email protected]>
Signed-off-by: Andreas Reichel <[email protected]>
Signed-off-by: Andreas Reichel <[email protected]>
Thank you for your contribution.
|
@manticore-projects |
Right now, my uneducated guess was about a build-caching issue because the builds succeed first time and then fail sub-sequentially. We will figure this out eventually. For example, it just built perfectly fine after merge?! |
@minleejae: If you ever come to Thailand for a course of golf, please do let me know! |
@manticore-projects Regarding the Gradle CI issue, it's possible that the errors we’re seeing might be related to build-caching inconsistencies, which makes it an interesting topic to look into further. Additionally, I’m not very familiar with JavaCC syntax, I’m curious—does using |
Yes, it does come with a performance penalty although you need to distinguish:
|
Summary
This PR addresses the issue #2016 with JSQLParser's inability to parse ADD PARTITION clauses in ALTER TABLE statements for MySQL 8.0. Previously, these clauses were not recognized, causing parsing errors for certain ALTER TABLE operations.
Changes
storage options
, allowing for accurate parsing of these statements.DROP PARTITION
clauses.TRUNCATE PARTITION
parsing functionality.References
MySQL Documentation: ALTER TABLE Partition Operations