Skip to content

Conversation

@scottsand-db
Copy link
Collaborator

@scottsand-db scottsand-db commented Jun 2, 2025

🥞 Stacked PR

Use this link to review incremental changes.


Which Delta project/connector is this regarding?

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

Description

Creates the CATALOG_MANAGED_R_W_FEATURE_PREVIEW. Only read support.

Note -- only merge when full read support is complete. But this can be reviewed now.

How was this patch tested?

Existing UTs.

Does this PR introduce any user-facing changes?

No.

@scottsand-db scottsand-db changed the title done [Kernel] [CatalogManaged] Add the catalog managed preview table feature (read) support Jun 2, 2025
@scottsand-db scottsand-db self-assigned this Jun 2, 2025
@scottsand-db scottsand-db changed the title [Kernel] [CatalogManaged] Add the catalog managed preview table feature (read) support [Kernel] [CatalogManaged] Add the catalog managed preview table feature (read) support [Do not merge yet] Jun 2, 2025

public static boolean isRowTrackingSupported(Protocol protocol) {
return protocol.getImplicitlyAndExplicitlySupportedFeatures().contains(ROW_TRACKING_W_FEATURE);
return protocol.supportsFeature(ROW_TRACKING_W_FEATURE);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

.supportsFeature calls .getImplicitlyAndExplicitlySupportedFeatures().contains

@scottsand-db scottsand-db force-pushed the stack/kernel_catalog_managed_table_feature branch from 65f7212 to a9b0bcb Compare June 4, 2025 16:09
@raveeram-db
Copy link
Collaborator

LGTM pending nits.

// `delta.feature.catalogOwned-preview` correctly enables the catalogManaged table feature.
// When writer support is added, we will extend this test to check that the right properties
// and table features (e.g. ICT) were enabled.
test("setting delta.feature.catalogOwned-preview enables the catalogManaged table feature") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this is the only test, add it to DeltaTableFeaturesSuite

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@scottsand-db scottsand-db changed the title [Kernel] [CatalogManaged] Add the catalog managed preview table feature (read) support [Do not merge yet] [Kernel] [CatalogManaged] Add the catalog managed preview table feature (read) support Jun 14, 2025
@scottsand-db scottsand-db merged commit 600d614 into delta-io:master Jun 14, 2025
22 checks passed
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