Skip to content

Conversation

manticore-projects
Copy link
Contributor

fixes #1177

I do not think, that the previously implemented NEXTVAL FOR is correct, but I kept it in order to avoid breaking anything. Which RDBMS would support or request for NEXTVAL FOR please?

With this PR, both NEXTVAL FOR and NEXT VALUE FOR will be supported. Oracle/DB2 foo.nextval is not affected.
If we found out, that NEXTVAL FOR was obsolete, we should clean this up optionally.

@manticore-projects
Copy link
Contributor Author

Pardon my stupid question: why does it keep referring to merged previous PRs and changes? How would I get rid of this please?
It seems like I was not using GIT correctly yet.

@coveralls
Copy link

coveralls commented Apr 24, 2021

Coverage Status

Coverage increased (+0.2%) to 88.69% when pulling de55061 on manticore-projects:master into 86b613c on JSQLParser:master.

@manticore-projects
Copy link
Contributor Author

Add support for CTEs in MERGE, UPDATE, DELETE (but not yet for CTEs with VALUE LISTs)

@manticore-projects
Copy link
Contributor Author

Please please please: Deactivate the rules "PMD.CyclomaticComplexity", "PMD.ExcessiveMethodLength", "PMD.NPathComplexity" for Codazy! These do not make any sense for the toString() and deParse() methods and right now I need to activate these rules in PMD only to annotate every method with @SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.ExcessiveMethodLength", "PMD.NPathComplexity"}).
I am not against Code quality validation at all, but this insane.

@manticore-projects
Copy link
Contributor Author

One more thing: Code Duplication. As far as I understand it, the toString() methods do more or less the same as the Deparser.deparse() methods. Would that not be the right time to overhaul this and to replace the code of the toString() methods with a static method Deparser.deparse(Statement st)?

@manticore-projects
Copy link
Contributor Author

fixes #1176

@wumpz
Copy link
Member

wumpz commented Apr 30, 2021

Yes, this commit behaviour is when you continue to work on your old PRs branch. Since I use "squash & merge" to merge your pull request your PR branch will not be merged into master but a single commit is created by git that merges your final overall changes.

So could it be, that here are more changes than you liked? It seems to be a big PR.

@manticore-projects
Copy link
Contributor Author

manticore-projects commented Apr 30, 2021 via email

@wumpz
Copy link
Member

wumpz commented May 1, 2021

Could you first remove the conflict? Then I will merge.

@manticore-projects
Copy link
Contributor Author

manticore-projects commented May 1, 2021 via email

@manticore-projects
Copy link
Contributor Author

Fixes #1186

@wumpz
Copy link
Member

wumpz commented May 10, 2021

Now there are changes in 51 files??? Really?

@manticore-projects
Copy link
Contributor Author

manticore-projects commented May 10, 2021 via email

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.

Parser fails on TSQL "NEXT VALUE FOR"?
3 participants