Skip to content

[0.3] Backport Delta commit api in spec and basic commit support - #1229

Merged
tdas merged 3 commits into
unitycatalog:branch-0.3from
yili-db:3_commit_1
Nov 20, 2025
Merged

tdas merged 3 commits into
unitycatalog:branch-0.3from
yili-db:3_commit_1

Conversation

@yili-db

@yili-db yili-db commented Nov 19, 2025

Copy link
Copy Markdown
Collaborator

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

Backport Delta commit api in spec and basic commit support

Related issue is: #1143

## 🥞 Stacked PR
Use this
[link](https://github.com/unitycatalog/unitycatalog/pull/1127/files) to
review incremental changes.
-
[**commit_api**](unitycatalog#1127)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1127/files)]
-
[stack/commit_basic](unitycatalog#1166)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1166/files/725c6b686f9f169fb10d7109dfa2c5ea2cd58a4e..2ec21c04831867e54feef742774af6c7b034dea1)]
-
[stack/commit_backfill_delete_meta](unitycatalog#1169)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files/6d0a2246ce9ded3408587e35355ad46deb22dd2d..711f75644a2ae2559277413d36c8e7118a9bd3ca)]
-
[stack/commit_get](unitycatalog#1170)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/333883036048eb3c5fc5defd6ad193849b2286a4..3e5b8dfe047577223b7e9decac67725e5f4d6c76)]

---------
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
- [x] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

**Description of changes**

Add coordinated commits API to the spec

Related issue is:
unitycatalog#1143

---------

Signed-off-by: Yi Li <[email protected]>
)

Use this
[link](https://github.com/unitycatalog/unitycatalog/pull/1166/files) to
review incremental changes.
-
[**stack/commit_basic**](unitycatalog#1166)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1166/files)]
-
[stack/commit_api_2](unitycatalog#1199)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1199/files/8c6992aaad6b981ef38a4fb468ef700f083ad49a..d0d4f606101bc705a6a79514a2b4ba31b2b19b19)]
-
[stack/commit_backfill_delete_meta](unitycatalog#1169)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files/d0d4f606101bc705a6a79514a2b4ba31b2b19b19..93dc85893930d1594b3a974cc48228c767f826ab)]
-
[stack/commit_get](unitycatalog#1170)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/93dc85893930d1594b3a974cc48228c767f826ab..0e7306a1c14f5476eeef78953b948fd2f7ba0453)]
-
[stack/commit_access_test](unitycatalog#1178)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/0e7306a1c14f5476eeef78953b948fd2f7ba0453..6042111d1b885fc5a9cf687b670c98b95ade14d7)]
-
[stack/ccv2_spark](unitycatalog#1186)
[[Files
changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/6042111d1b885fc5a9cf687b670c98b95ade14d7..cc09752cb91d6c9e6bf474ebc05c82f7a0da95cc)]

---------
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
- [x] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

**Description of changes**

This commit adds API support for committing Delta table versions to
Unity Catalog
with coordinated commit semantics. When multiple clients attempt to
commit the
same version simultaneously, UC guarantees that only one will succeed.

Key features:
- POST endpoint at /delta/preview/commits for committing new table
versions
- Strict sequential version validation (version N+1 must follow version
N)
- Onboarding flow for tables with no existing commits
- Comprehensive validation of commit metadata and table properties
- Only managed delta tables are supported

Known limitations (documented in code):
- Table metadata updates not yet implemented
- Backfill of commits not yet supported
- Cleanup of commits when deleting tables not yet implemented
- RPC support for reading commit lists not yet implemented

**Related issue**
unitycatalog#1143

---------

Signed-off-by: Yi Li <[email protected]>
@yili-db
yili-db changed the base branch from main to branch-0.3 November 19, 2025 22:56
@yili-db yili-db closed this Nov 19, 2025
@yili-db yili-db reopened this Nov 19, 2025
Signed-off-by: Yi Li <[email protected]>
@tdas
tdas merged commit 1dd8ebc into unitycatalog:branch-0.3 Nov 20, 2025
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