-
Notifications
You must be signed in to change notification settings - Fork 3k
Core: Add property to disable table initialization for JdbcCatalog #10124
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
Conversation
6a40f22 to
0115a15
Compare
core/src/test/java/org/apache/iceberg/jdbc/TestJdbcCatalog.java
Outdated
Show resolved
Hide resolved
0115a15 to
6bb9fb7
Compare
|
Thanks for the review and suggestions @nastra! I believe I've addressed all the feedback in the latest commit |
jbonofre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM to me. Thanks !
|
This PR is ok for me. I will prepare another pr to provide create statement as sql file and document it. |
core/src/test/java/org/apache/iceberg/jdbc/TestJdbcCatalog.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/apache/iceberg/jdbc/TestJdbcCatalog.java
Outdated
Show resolved
Hide resolved
nastra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but would be good to address the nits
6bb9fb7 to
2d096e8
Compare
|
@mrcnc looks like there's a merge conflict. Can you rebase please? |
2d096e8 to
928e52a
Compare
It would be helpful to disable the creation of the catalog tables used by the JdbcCatalog to maintain the principle of least privilege. In my scenario, I would like to perform database migrations with a migration tool using a user with DDL privileges and use a separate user with only DML privileges for connecting the JdbcCatalog to the database.