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

ORACLE: ALTER TABLE ... ADD CONSTRAINT ... with tablespace option unsupported #2039

Open
LuckyLXX opened this issue Jul 16, 2024 · 1 comment
Labels
DDL DDL statement related Oracle Sponsor needed

Comments

@LuckyLXX
Copy link

LuckyLXX commented Jul 16, 2024

Software Information:

  • 4.9+
  • oracle 19c
ALTER TABLE bfmcs.your_table 
ADD CONSTRAINT your_table_pk 
PRIMARY KEY (ID) using index tablespace your_tablespace;

net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "tablespace" "TABLESPACE"
at line 1, column 88.

Was expecting one of:

","
<EOF>
<ST_SEMICOLON>
@manticore-projects
Copy link
Contributor

Greetings,

the ALTER statements are lacking many RDBMS specific features and need a more or less complete rewrite. I myself have very limited interest in DDL statements and so you will need to provide or sponsor an implementation to make this happen.

@manticore-projects manticore-projects changed the title version 4.9+ Error parsing alter statement ORACLE: ALTER TABLE ... ADD CONSTRAINT ... with tablespace option unsupported Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DDL DDL statement related Oracle Sponsor needed
Projects
None yet
Development

No branches or pull requests

2 participants