Skip to content

Conversation

@TimothyW553
Copy link
Collaborator

@TimothyW553 TimothyW553 commented Dec 11, 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

This PR implements the wireframe introduced in the previous PR of the stack. For this specific UCManagedTableSnapshotManager, it delegates snapshot loading operations to the UCCatalogCommitClient.

getActiveCommitAtTime(t) loads the latest snapshot, gets its commits, and uses those along with DeltaHistoryManager.getActiveCommitAtTimestamp(t, catalogCommits, ...) to get the appropriate commit at time t.

How was this patch tested?

Locally and CI.

Does this PR introduce any user-facing changes?

No.

@TimothyW553 TimothyW553 changed the title implementation [Kernel-Spark][DSv2] Implement UCManagedSnapshotManager operations using UCCatalogManagedClient Dec 11, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why two tests files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The Java one is for constructor validation. The other uses Scala because there are a number of scala utils that help with testing such as UCCatalogManagedTestUtils and InMemoryUCClient (written in Scala) so it is easier to write the bulk of the tests in Scala.

This is the reason, but we could

  1. Get rid of the Java tests (as they are just simple constructor tests)
  2. Test the Java code and consolidate them in the Scala test suite.

@TimothyW553 TimothyW553 marked this pull request as ready for review December 12, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants