Skip to content

Conversation

@xzhseh
Copy link
Collaborator

@xzhseh xzhseh commented Jan 20, 2026

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

As titled.

How was this patch tested?

UTs.

Does this PR introduce any user-facing changes?

Yes.

Copy link
Contributor

@yumingxuanguo-db yumingxuanguo-db left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@tdas tdas left a comment

Choose a reason for hiding this comment

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

there does not seem to any unit tests. can we add a unit tests to ensure that this actually works?

for example, we now have full end-to-end UC tests using the UC server running in the JVM - https://github.com/delta-io/delta/tree/master/spark/unitycatalog/src/test/java/io/sparkuctest

can you make sure that there is test coverage here that ensures that this works end to end?

@tdas tdas requested a review from yili-db January 20, 2026 19:48
@tdas
Copy link
Contributor

tdas commented Jan 20, 2026

cc @yili-db who has been working on the create on catalog managed tables and @openinx who is holistically testing catalog managed tables

@tdas tdas requested a review from openinx January 20, 2026 19:49

// Allow specifying CatalogManaged in REPLACE TABLE if the existing table is already
// CatalogManaged. In this case, the commit coordinator properties are treated as a no-op.
// Block if trying to enable CatalogManaged on a non-CatalogManaged table via REPLACE.
Copy link
Collaborator

@openinx openinx Jan 20, 2026

Choose a reason for hiding this comment

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

Hi @xzhseh , seems like you are adding an enforced checking to prevent REPLACE an existing non-catalogManaged table to be a managed one.

I will suggest to add an integration tests to cover the changes you made. https://github.com/delta-io/delta/blob/master/spark/unitycatalog/src/test/java/io/sparkuctest/UCDeltaTableCreationTest.java

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.

4 participants