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

[CALCITE-5836] Implement Rel2Sql for MERGE #3397

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

macroguo-ghy
Copy link
Contributor

@macroguo-ghy macroguo-ghy commented Aug 27, 2023

Support MERGE INTO cluase for JDBC adapter

@macroguo-ghy
Copy link
Contributor Author

I made a rebase to solve problem of hundred of commits in this PR.

@macroguo-ghy
Copy link
Contributor Author

Hi @JiajunBernoulli, Do you want to continue with the code review? If you think this PR is ok, do you consider merging it?

final SqlNode source = join.getLeft();

SqlUpdate update = null;
List<String> updateColumnList =
Copy link
Contributor

@JiajunBernoulli JiajunBernoulli Sep 8, 2023

Choose a reason for hiding this comment

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

Some variables can be final, please use final as much as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have fixed this and squashed the commits.

@sonarcloud
Copy link

sonarcloud bot commented Sep 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

97.8% 97.8% Coverage
0.0% 0.0% Duplication

@JiajunBernoulli JiajunBernoulli added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Sep 11, 2023
@JiajunBernoulli JiajunBernoulli merged commit f3f5e7e into apache:main Sep 15, 2023
32 checks passed
@JiajunBernoulli
Copy link
Contributor

Close #3310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LGTM-will-merge-soon Overall PR looks OK. Only minor things left.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants