Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spark] Delta Tables with Unity Catalog (UC) as Commit Coordinator #3837

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sumeet-db
Copy link
Collaborator

Which Delta project/connector is this regarding?

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

Description

This PR add supports for Delta tables in delta-spark with Unity Catalog (UC) as the Commit Coordinator. This feature enables UC to act as the commit coordinator for Delta tables, providing atomic commit operations and seamless integration between Delta tables and Unity Catalog. The system will use UC as the commit coordinator when delta.coordinatedCommits.commitCoordinator{-preview} is set to unity-catalog in the Delta table properties.

UC will maintain table metadata and track unbackfilled commits. UC will also ensure atomic commits and handle commit conflicts.

See Delta Coordinated Commits RFC or PROTOCOL.md for more information on the coordinated commits and its benefits.

Feature Request: #3836

Design Doc

How was this patch tested?

New UTs in the PR

Does this PR introduce any user-facing changes?

No

Copy link
Collaborator

@scottsand-db scottsand-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!

}
}
// Initialize table ID for the calling test
// tableUUID = UUID.randomUUID().toString
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like we have tableUUID as a class member so we can remove this comment (lines 140 - 141)?

@sumeet-db sumeet-db force-pushed the uc_oss_1 branch 3 times, most recently from 237165e to c1af990 Compare November 11, 2024 21:14
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