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

[Kernel] During Active-AddFile-Log-Replay do not pass the RemoveFile to checkpoint reader #4137

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

Conversation

anoopj
Copy link
Collaborator

@anoopj anoopj commented Feb 8, 2025

Which Delta project/connector is this regarding?

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

Description

Implemented a minor performance improvement to not read any RemoveFiles when we read checkpoint Parquet files during active-add-file-log-replay. Fixes #4102

How was this patch tested?

Existing unit test, manual test using
delta/kernel/examples/run-kernel-examples.py --use-local
and
./run-tests.py --group kernel

Does this PR introduce any user-facing changes?

No

@anoopj anoopj force-pushed the anoopj-remove branch 3 times, most recently from 4a92f4e to 6d05a97 Compare February 10, 2025 18:24
@anoopj anoopj requested a review from scottsand-db February 10, 2025 18:54
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.

Looks great! Just left some minor comments about variable name and comments.

After this -- LGTM!

Thanks!

…to checkpoint reader

#### Which Delta project/connector is this regarding?

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

## Description

Implemented a minor performance improvement to not read any RemoveFiles when we read checkpoint Parquet files during active-add-file-log-replay.
Fixes delta-io#4102

## How was this patch tested?

Existing unit test, manual test using
./run-tests.py --group kernel
and
delta/kernel/examples/run-kernel-examples.py --use-local

## 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants