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 introduces a factory that returns the appropriate snapshot manager for a SparkTable. This factory checks the CatalogTable to determine if the snapshot manager should be a PathBasedSnapshotManager, UCManagedTableSnapshotManager, or another CatalogedManagedSnapshotManager in the future.

How was this patch tested?

Locally and CI.

Does this PR introduce any user-facing changes?

No.

@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from 998c638 to c0df33e Compare December 11, 2025 04:31
@TimothyW553 TimothyW553 requested review from huan233usc and scottsand-db and removed request for scottsand-db December 11, 2025 04:31
@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from c0df33e to 05f823d Compare December 11, 2025 05:52
@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from 05f823d to 52b46af Compare December 11, 2025 06:17
@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from 52b46af to 5f7b865 Compare December 11, 2025 09:35
@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from 5f7b865 to d59108e Compare December 11, 2025 10:02
@TimothyW553 TimothyW553 force-pushed the stack/snapshotmanager-factory-wireup branch from d59108e to 6538c8b Compare December 11, 2025 22:28
UCTableInfo tableInfo, Configuration hadoopConf) {
UCClient ucClient = new UCTokenBasedRestClient(tableInfo.getUcUri(), tableInfo.getUcToken());
UCCatalogManagedClient ucCatalogClient = new UCCatalogManagedClient(ucClient);
Engine engine = DefaultEngine.create(hadoopConf);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's create DefaultEngine in SparkTable and pass it here.

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