Skip to content

Conversation

@TimothyW553
Copy link
Collaborator

@TimothyW553 TimothyW553 commented Nov 17, 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 introduces CatalogManagedSnapshotManager, the catalog-backed counterpart to PathBasedSnapshotManager, so Unity Catalog tables can route snapshot reconstruction through UC commit APIs while path tables keep existing behavior. SnapshotManagerFactory now selects the appropriate implementation and SparkTable is wired to use the factory, enabling transparent switching based on catalog metadata. The manager loads ratified commits through UCClient, builds Kernel snapshots with staged commit data, and delegates commit-range and history queries to UC-aware logic. New tests exercise the manager end-to-end using the shared catalog-owned-preview dataset to ensure streaming/time-travel semantics stay intact.

How was this patch tested?

Does this PR introduce any user-facing changes?

Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: Timothy Wang <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
Signed-off-by: TimothyW553 <[email protected]>
This was referenced Nov 17, 2025
@TimothyW553 TimothyW553 force-pushed the stack/ccv2-CatalogManagedSnapshotManager branch from 8ac7344 to 6d5cb0e Compare November 17, 2025 22:28
@TimothyW553 TimothyW553 mentioned this pull request Nov 17, 2025
5 tasks
@TimothyW553 TimothyW553 changed the title snapshot manager factory refactoring CCv2 CatalogManagedSnapshotManager Nov 17, 2025
@TimothyW553 TimothyW553 force-pushed the stack/ccv2-CatalogManagedSnapshotManager branch from ef93d13 to 6bcd1fd Compare November 18, 2025 00:05
rajeshparangi and others added 6 commits November 18, 2025 00:06
#### Which Delta project/connector is this regarding?

- [X] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)

## Description

This PR refactors a vacuum code a bit by moving identifying Vacuum type
to earlier in the logic.

## How was this patch tested?

existing tests

## Does this PR introduce _any_ user-facing changes?
No
@TimothyW553 TimothyW553 force-pushed the stack/ccv2-CatalogManagedSnapshotManager branch from 6bcd1fd to c03754c Compare November 18, 2025 00:18
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.

2 participants