Skip to content

[Kernel] [CatalogManaged] ImmutableInternalTransactionState [PAUSE/ON HOLD/DO NOT REVIEW] #4911

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

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

scottsand-db
Copy link
Collaborator

@scottsand-db scottsand-db commented Jul 10, 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 creates a new data class ImmutableInternalTransactionState that holds the fields that both TransactionImpl (today) and TransactionV2Impl (comin soon) will use.

This PR also deletes the ability for the transaction state shouldUpdateMetadata to be mutable -- once it is set to true, it should remain true; one it is set to false, it should remain false.

How was this patch tested?

Just a refactor.

Does this PR introduce any user-facing changes?

No.

@scottsand-db scottsand-db force-pushed the stack/kernel_catalog_managed_writes_2_txn_v2_impl_and_state branch from b3fdded to 2fd97ae Compare July 10, 2025 18:00
@scottsand-db scottsand-db changed the title WIP [Kernel] [CatalogManaged] ImmutableInternalTransactionState Jul 10, 2025
@scottsand-db scottsand-db self-assigned this Jul 10, 2025
@scottsand-db scottsand-db changed the title [Kernel] [CatalogManaged] ImmutableInternalTransactionState [Kernel] [CatalogManaged] ImmutableInternalTransactionState [PAUSE/ON HOLD/DO NOT REVIEW] Jul 10, 2025
scottsand-db added a commit that referenced this pull request Jul 14, 2025
)

## 🥞 Stacked PR
Use this [link](https://github.com/delta-io/delta/pull/4814/files) to
review incremental changes.
-
[**stack/kernel_catalog_managed_writes_1**](#4814)
[[Files changed](https://github.com/delta-io/delta/pull/4814/files)]
-
[stack/kernel_catalog_managed_writes_2](#4834)
[[Files
changed](https://github.com/delta-io/delta/pull/4834/files/230779b84dd4cbef32a4ad037bd31d93ac080795..338c231e706e9831439c66ce5923456694244e87)]
-
[stack/kernel_catalog_managed_writes_2_prototype](#4865)
[[Files
changed](https://github.com/delta-io/delta/pull/4865/files/230779b84dd4cbef32a4ad037bd31d93ac080795..4c7018fe7ad37b7c07375f8cc5bb160ee5240a73)]
-
[stack/kernel_catalog_managed_writes_2_prototype_b](#4902)
[[Files
changed](https://github.com/delta-io/delta/pull/4902/files/75bae78cb08732df9fab5975a0b1b0ba04a76459..feea0e08a34aa1487e968311247082eca7546760)]
-
[stack/kernel_catalog_managed_writes_2_simple](#4916)
[[Files
changed](https://github.com/delta-io/delta/pull/4916/files/230779b84dd4cbef32a4ad037bd31d93ac080795..0d41184077d53cfb773f4ce042479107858aca82)]
-
[stack/kernel_catalog_managed_writes_3_e2e_uc_prototype](#4921)
[[Files
changed](https://github.com/delta-io/delta/pull/4921/files/0d41184077d53cfb773f4ce042479107858aca82..d7e4ba16684de8da1527e16fced6155e1261f185)]
-
[stack/kernel_catalog_managed_writes_2_txn_v2_impl_and_state](#4911)
[[Files
changed](https://github.com/delta-io/delta/pull/4911/files/3948ba9b6a2bc90b49eec1d0f7e6e51ac58cc0fb..ec45cc89bc8dbdf364212d36afd871f51e697c7c)]
-
stack/kernel_catalog_managed_writes_3_initial_txn_v2_impl_and_commit_context_impl

---------
<!--
Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, please read our contributor guidelines:
https://github.com/delta-io/delta/blob/master/CONTRIBUTING.md
2. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP]
Your PR title ...'.
  3. Be sure to keep the PR description updated to reflect all changes.
  4. Please write your PR title to summarize what this PR proposes.
5. If possible, provide a concise example to reproduce the issue for a
faster review.
6. If applicable, include the corresponding issue number in the PR title
and link it in the body.
-->

#### Which Delta project/connector is this regarding?
<!--
Please add the component selected below to the beginning of the pull
request title
For example: [Spark] Title of my pull request
-->

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

## Description

This PR adds new Transaction and Committer etc. APIs.

## How was this patch tested?

Just new APIs.

## Does this PR introduce _any_ user-facing changes?

Yes.
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.

1 participant