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

[#5306]Improvement(jdbc-catalog): make properties required #5337

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

lsyulong
Copy link
Contributor

What changes were proposed in this pull request?

[#5306][Improvement] Some JDBC catalog properties should be defined as required

Why are the changes needed?

Fix: #5306

Does this PR introduce any user-facing change?

change some JDBC catalog properties

How was this patch tested?

No

JdbcConfig.JDBC_DRIVER.getKey(),
JdbcConfig.JDBC_DRIVER.getDoc(),
true /* required */,
Copy link
Contributor

Choose a reason for hiding this comment

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

could you plz add tests to cover the changes?

@mchades
Copy link
Contributor

mchades commented Oct 30, 2024

Run ./gradlew :catalogs:catalog-jdbc-common:spotlessApply to fix code style

@lsyulong
Copy link
Contributor Author

Run './gradlew :catalogs:catalog-jdbc-common:spotlessApply' to fix code style运行 './gradlew :catalogs:catalog-jdbc-common:spotlessApply' 修复代码样式

Can I use idea one click formatting?

@mchades
Copy link
Contributor

mchades commented Oct 30, 2024

Can I use idea one click formatting?

no, need to run the command in the terminal.

@lsyulong
Copy link
Contributor Author

Can I use idea one click formatting?

no, need to run the command in the terminal.

image
How should I operate

@mchades
Copy link
Contributor

mchades commented Oct 30, 2024

Sorry, it looks like you are using a Windows OS, I cannot provide advice. This command needs to be executed on Linux.

@lsyulong
Copy link
Contributor Author

Sorry, it looks like you are using a Windows OS, I cannot provide advice. This command needs to be executed on Linux.

image
Can I manually indent it? I haven't made any changes elsewhere

@mchades
Copy link
Contributor

mchades commented Oct 30, 2024

@lsyulong
Copy link
Contributor Author

Is there any problem with the latest submitted code? If there is, I will make the necessary modifications @mchades

@mchades mchades changed the title [#5306][Improvement] Some JDBC catalog properties should be defined as required [#5306]Improvement(jdbc-catalog): some JDBC catalog properties should be defined as required Nov 1, 2024
@mchades mchades changed the title [#5306]Improvement(jdbc-catalog): some JDBC catalog properties should be defined as required [#5306]Improvement(jdbc-catalog): make properties required Nov 1, 2024
@mchades mchades added the branch-0.7 Automatically cherry-pick commit to branch-0.7 label Nov 1, 2024
Copy link
Contributor

@mchades mchades left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your contributions!

@mchades mchades merged commit 28729a2 into apache:main Nov 1, 2024
26 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 1, 2024
### What changes were proposed in this pull request?

Some JDBC catalog properties should be defined as required

### Why are the changes needed?

Fix: #5306 

### Does this PR introduce _any_ user-facing change?

change some JDBC catalog properties

### How was this patch tested?
No
mplmoknijb pushed a commit to mplmoknijb/gravitino that referenced this pull request Nov 6, 2024
…che#5337)

### What changes were proposed in this pull request?

Some JDBC catalog properties should be defined as required

### Why are the changes needed?

Fix: apache#5306 

### Does this PR introduce _any_ user-facing change?

change some JDBC catalog properties

### How was this patch tested?
No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-0.7 Automatically cherry-pick commit to branch-0.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] Some JDBC catalog properties should be defined as required
2 participants