Skip to content

Refactor Delta Lake transaction log handling #25927

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

Merged
merged 2 commits into from
Jun 6, 2025

Conversation

chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Jun 4, 2025

Description

Introduce TransactionLogReader and TransactionLogWriter to
encapsulate the logic for reading and writing the transaction log.
This abstraction improves code clarity and makes it easier to
extend functionality in the future.

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Jun 4, 2025
@github-actions github-actions bot added the delta-lake Delta Lake connector label Jun 4, 2025
@chenjian2664 chenjian2664 requested review from ebyhr, raunaqmorarka and findinpath and removed request for ebyhr June 4, 2025 02:25
@chenjian2664 chenjian2664 requested a review from ebyhr June 4, 2025 02:25
@chenjian2664 chenjian2664 requested a review from anusudarsan June 4, 2025 02:25
Introduce `TransactionLogReader` and `TransactionLogWriter` to
encapsulate the logic for reading and writing the transaction log.
This abstraction improves code clarity and makes it easier to
extend functionality in the future.
Simplify usage by allowing `TransactionLogAccess` to directly use
an injected `TransactionLogReaderFactory`, removing the need for callers
to pass it conditionally.
@ebyhr
Copy link
Member

ebyhr commented Jun 5, 2025

/test-with-secrets sha=96c4ed28f04c81468edeb2d5d939b097b446e433

Copy link

github-actions bot commented Jun 5, 2025

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/15458570382

@ebyhr ebyhr merged commit f4a0320 into trinodb:master Jun 6, 2025
22 checks passed
@github-actions github-actions bot added this to the 477 milestone Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed delta-lake Delta Lake connector
Development

Successfully merging this pull request may close these issues.

3 participants