Skip to content
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

Add support for parsing MySQL DISCARD and IMPORT TABLESPACE DDL statements #2198

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

minleejae
Copy link
Contributor

Summary

This PR adds support for parsing MySQL DISCARD TABLESPACE and IMPORT TABLESPACE DDL statements in the ALTER TABLE syntax.

Changes

  • Updated the AlterExpression class to handle DISCARD TABLESPACE and IMPORT TABLESPACE operations.
  • Added test cases to verify the parsing and deparsing of these statements.

@manticore-projects
Copy link
Contributor

Thank you for your contribution. Neat and clean!

@manticore-projects manticore-projects merged commit 8e651ff into JSQLParser:master Mar 20, 2025
2 of 4 checks passed
@minleejae minleejae deleted the feat/tablespace branch March 24, 2025 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants