Repository navigation
Add an access control test to verify that correct permission is enforced when committing to UC and getting commits from UC. - #1178
Merged
Conversation
This was referenced Nov 10, 2025
yili-db
force-pushed
the
stack/commit_access_test
branch
5 times, most recently
from
November 10, 2025 22:33
9140eef to
c7be7fb
Compare
yili-db
marked this pull request as ready for review
November 10, 2025 23:00
yili-db
requested review from
dennyglee,
rameshchandra and
tdas
as code owners
November 10, 2025 23:00
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 11, 2025 00:55
af61cc6 to
a761fd2
Compare
This was referenced Nov 11, 2025
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 12, 2025 18:57
9c860a0 to
52a6d46
Compare
yili-db
force-pushed
the
stack/commit_access_test
branch
7 times, most recently
from
November 12, 2025 20:05
30b4920 to
6042111
Compare
tdas
pushed a commit
that referenced
this pull request
Nov 12, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1166/files) to review incremental changes. - [**stack/commit_basic**](#1166) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1166/files)] - [stack/commit_api_2](#1199) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1199/files/8c6992aaad6b981ef38a4fb468ef700f083ad49a..d0d4f606101bc705a6a79514a2b4ba31b2b19b19)] - [stack/commit_backfill_delete_meta](#1169) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files/d0d4f606101bc705a6a79514a2b4ba31b2b19b19..93dc85893930d1594b3a974cc48228c767f826ab)] - [stack/commit_get](#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/93dc85893930d1594b3a974cc48228c767f826ab..0e7306a1c14f5476eeef78953b948fd2f7ba0453)] - [stack/commit_access_test](#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/0e7306a1c14f5476eeef78953b948fd2f7ba0453..6042111d1b885fc5a9cf687b670c98b95ade14d7)] - [stack/ccv2_spark](#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** #1143 --------- Signed-off-by: Yi Li <[email protected]>
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 12, 2025 21:16
5225d01 to
d4c96d2
Compare
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 12, 2025 23:22
ee821f2 to
dae5d6f
Compare
tdas
pushed a commit
that referenced
this pull request
Nov 13, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1199/files) to review incremental changes. - [**stack/commit_api_2**](#1199) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1199/files)] - [stack/commit_backfill_delete_meta](#1169) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files/a78dfb470b5128f01ee6c44ccadea2473005a8a2..5e4aff2b0ec2c0518c3ff718d1dfda965d6ff1f5)] - [stack/commit_get](#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/5e4aff2b0ec2c0518c3ff718d1dfda965d6ff1f5..60a3cc2d4e2ef30ee1853a23f2f46f5d00fbc261)] - [stack/commit_access_test](#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/60a3cc2d4e2ef30ee1853a23f2f46f5d00fbc261..dae5d6f57ba8bb0e16037bab00de9393da1553c0)] - [stack/ccv2_spark](#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/dae5d6f57ba8bb0e16037bab00de9393da1553c0..be0473cf83f0e100142403a0134409658dc9760a)] --------- **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** Update DeltaCommits API - Change getCommits api to use json payload for its parameters. This is the method actually used by Delta Spark - Rename CoordinatedCommits to DeltaCommits in API **Related issue** #1143 --------- Signed-off-by: Yi Li <[email protected]>
yili-db
force-pushed
the
stack/commit_access_test
branch
3 times, most recently
from
November 13, 2025 21:43
b02ef2d to
7cb3ace
Compare
tdas
pushed a commit
that referenced
this pull request
Nov 14, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1169/files) to review incremental changes. - [**stack/commit_backfill_delete_meta**](#1169) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files)] - [stack/commit_get](#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/eee17f0c3f9e6a456523fb0bf502b560a31ddea7..6e1ceb0c6747f1c85bc344b25b6d982dc964a8b3)] - [stack/commit_access_test](#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/6e1ceb0c6747f1c85bc344b25b6d982dc964a8b3..7cb3ace271839563449be4a900f5260633c423b5)] - [stack/ccv2_spark](#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/7cb3ace271839563449be4a900f5260633c423b5..72eff6e86a48ecdcddbd407a5d7f5edabad35a7c)] --------- **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 implements backfill and metadata update functionality for Delta commits in Unity Catalog: - Backfilling and deletion of old commit metadata - Commit limit enforcement - Table metadata updates via commits - Comprehensive test coverage **Related issue** #1143 --------- Signed-off-by: Yi Li <[email protected]>
tdas
reviewed
Nov 14, 2025
tdas
reviewed
Nov 14, 2025
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 15, 2025 08:48
d98b706 to
c5a27cf
Compare
yili-db
force-pushed
the
stack/commit_access_test
branch
2 times, most recently
from
November 16, 2025 01:42
738d6ca to
b9bd719
Compare
tdas
pushed a commit
that referenced
this pull request
Nov 18, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1170/files) to review incremental changes. - [**stack/commit_get**](#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files)] - [stack/commit_access_test](#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/2170d0bcd2ae26a70bd10d094cf20f968d929874..b9bd7194e2bda546e69e8782cba3da95e1b4c83d)] - [stack/ccv2_spark](#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/b9bd7194e2bda546e69e8782cba3da95e1b4c83d..1deff5e7a5805b9b1da01e8111a48ba1b8c09216)] --------- **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 the ability to retrieve commits for managed Delta tables with coordinated commit semantics, completing the read path for the coordinated commits API. Key features: - Version range filtering (inclusive start and end) - Returns commits in descending order (newest first) - Returns latestTableVersion even when commit list is empty - Proper error handling for invalid parameters **Related issue** #1143 Signed-off-by: Yi Li <[email protected]>
…ced when committing to UC and getting commits from UC. Signed-off-by: Yi Li <[email protected]>
yili-db
force-pushed
the
stack/commit_access_test
branch
from
November 18, 2025 19:01
58dfe78 to
cb4d52e
Compare
Signed-off-by: Yi Li <[email protected]>
yili-db
force-pushed
the
stack/commit_access_test
branch
from
November 18, 2025 21:48
cb4d52e to
d7f21c1
Compare
yili-db
added a commit
to yili-db/unitycatalog
that referenced
this pull request
Nov 19, 2025
) 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
added a commit
to yili-db/unitycatalog
that referenced
this pull request
Nov 20, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1199/files) to review incremental changes. - [**stack/commit_api_2**](unitycatalog#1199) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1199/files)] - [stack/commit_backfill_delete_meta](unitycatalog#1169) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files/a78dfb470b5128f01ee6c44ccadea2473005a8a2..5e4aff2b0ec2c0518c3ff718d1dfda965d6ff1f5)] - [stack/commit_get](unitycatalog#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/5e4aff2b0ec2c0518c3ff718d1dfda965d6ff1f5..60a3cc2d4e2ef30ee1853a23f2f46f5d00fbc261)] - [stack/commit_access_test](unitycatalog#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/60a3cc2d4e2ef30ee1853a23f2f46f5d00fbc261..dae5d6f57ba8bb0e16037bab00de9393da1553c0)] - [stack/ccv2_spark](unitycatalog#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/dae5d6f57ba8bb0e16037bab00de9393da1553c0..be0473cf83f0e100142403a0134409658dc9760a)] --------- **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** Update DeltaCommits API - Change getCommits api to use json payload for its parameters. This is the method actually used by Delta Spark - Rename CoordinatedCommits to DeltaCommits in API **Related issue** unitycatalog#1143 --------- Signed-off-by: Yi Li <[email protected]>
yili-db
added a commit
to yili-db/unitycatalog
that referenced
this pull request
Nov 20, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1169/files) to review incremental changes. - [**stack/commit_backfill_delete_meta**](unitycatalog#1169) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1169/files)] - [stack/commit_get](unitycatalog#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files/eee17f0c3f9e6a456523fb0bf502b560a31ddea7..6e1ceb0c6747f1c85bc344b25b6d982dc964a8b3)] - [stack/commit_access_test](unitycatalog#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/6e1ceb0c6747f1c85bc344b25b6d982dc964a8b3..7cb3ace271839563449be4a900f5260633c423b5)] - [stack/ccv2_spark](unitycatalog#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/7cb3ace271839563449be4a900f5260633c423b5..72eff6e86a48ecdcddbd407a5d7f5edabad35a7c)] --------- **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 implements backfill and metadata update functionality for Delta commits in Unity Catalog: - Backfilling and deletion of old commit metadata - Commit limit enforcement - Table metadata updates via commits - Comprehensive test coverage **Related issue** unitycatalog#1143 --------- Signed-off-by: Yi Li <[email protected]>
yili-db
added a commit
to yili-db/unitycatalog
that referenced
this pull request
Nov 20, 2025
## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1170/files) to review incremental changes. - [**stack/commit_get**](unitycatalog#1170) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1170/files)] - [stack/commit_access_test](unitycatalog#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files/2170d0bcd2ae26a70bd10d094cf20f968d929874..b9bd7194e2bda546e69e8782cba3da95e1b4c83d)] - [stack/ccv2_spark](unitycatalog#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/b9bd7194e2bda546e69e8782cba3da95e1b4c83d..1deff5e7a5805b9b1da01e8111a48ba1b8c09216)] --------- **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 the ability to retrieve commits for managed Delta tables with coordinated commit semantics, completing the read path for the coordinated commits API. Key features: - Version range filtering (inclusive start and end) - Returns commits in descending order (newest first) - Returns latestTableVersion even when commit list is empty - Proper error handling for invalid parameters **Related issue** unitycatalog#1143 Signed-off-by: Yi Li <[email protected]>
yili-db
added a commit
to yili-db/unitycatalog
that referenced
this pull request
Nov 20, 2025
…ced when committing to UC and getting commits from UC. (unitycatalog#1178) ## 🥞 Stacked PR Use this [link](https://github.com/unitycatalog/unitycatalog/pull/1178/files) to review incremental changes. - [**stack/commit_access_test**](unitycatalog#1178) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1178/files)] - [stack/ccv2_spark](unitycatalog#1186) [[Files changed](https://github.com/unitycatalog/unitycatalog/pull/1186/files/cb4d52ef1a52d05e27734946528cc6c48873fd5d..c0ddf0bc7eb7cfbc63786e9fd7aa810019e4bf25)] --------- **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 Add an access control test to verify that correct permission is enforced when committing to UC and getting commits from UC. **Related issue** unitycatalog#1143 --------- Signed-off-by: Yi Li <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🥞 Stacked PR
Use this link to review incremental changes.
PR Checklist
docsis updatedAdd an access control test to verify that correct permission is enforced when committing to UC and getting commits from UC.
Related issue
#1143