Skip to content

Support ALTER SEQUENCE #980

Merged
wumpz merged 2 commits intoJSQLParser:masterfrom
AnEmortalKid:alterseq
May 23, 2020
Merged

Support ALTER SEQUENCE #980
wumpz merged 2 commits intoJSQLParser:masterfrom
AnEmortalKid:alterseq

Conversation

@AnEmortalKid
Copy link
Copy Markdown
Contributor

Part of #112

Did a little refactoring mostly around the deparser (sharing a common class) and made a common production for SequenceProperties (both alter/create can use it).

Once this is merged, I'll follow up with a DROP SEQUENCE pr, and that should complete the sequences feature (at least for oracle syntax)

LOOKAHEAD(CreateView())
stm = CreateView()
|
LOOKAHEAD(AlterView())
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is needed since we now have 2 productions that match on K_ALTER, so we need to peek and check if it is one or the other

@coveralls
Copy link
Copy Markdown

coveralls commented May 3, 2020

Coverage Status

Coverage increased (+0.03%) to 83.459% when pulling 5b80ec4 on AnEmortalKid:alterseq into 08b9477 on JSQLParser:master.

@wumpz wumpz merged commit d34c885 into JSQLParser:master May 23, 2020
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