Skip to content

Core: Use time-travel schema when resolving partition spec in scan #13301

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

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

Conversation

chenjian2664
Copy link

@chenjian2664 chenjian2664 commented Jun 12, 2025

Slack: https://apache-iceberg.slack.com/archives/C03LG1D563F/p1749201124409489

Fixes : #11162

Fix table scan with filter when doing time-travel

@github-actions github-actions bot added the core label Jun 12, 2025
@chenjian2664 chenjian2664 changed the title Use time-travel schema when resolving partition spec in scan Core: Use time-travel schema when resolving partition spec in scan Jun 12, 2025
if (!useSnapshotSchema() || snapshotId() == null) {
return specs;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have a test showcasing the functionality fixed by this contribution?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am looking for the proper place to add the test, but I’m not sure where it should go. would appreciate some guidance

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

Successfully merging this pull request may close these issues.

Incorrect schema used when using time-travel
2 participants