Skip to content

ICEBERG-13343: fix race condition in JdbcCatalog #13345

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Claudenw
Copy link

Fix for ICEBERG-13343

@github-actions github-actions bot added the core label Jun 18, 2025
Copy link
Member

@jbonofre jbonofre left a comment

Choose a reason for hiding this comment

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

Imho, this PR is not relevant related to previous discussions and logic used in the init method.

@@ -123,7 +123,7 @@ enum SchemaVersion {
+ JdbcTableOperations.METADATA_LOCATION_PROP
+ " = ?";
static final String V0_CREATE_CATALOG_SQL =
"CREATE TABLE "
"CREATE TABLE IF NOT EXISTS "
Copy link
Member

Choose a reason for hiding this comment

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

Afair, it has been discussed while ago.

As this syntax is not supported by all SQL backends, we control that via JdbcUtil.INIT_CATALOG_TABLES_PROPERTY.

You can see the login in the initializeCatalogTables() method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants