Skip to content

[Spark] Session-level time travel Spark 4.1 - Follow up to #15193#16205

Open
gabeiglio wants to merge 1 commit intoapache:mainfrom
gabeiglio:spark-4.1-session-timestamp
Open

[Spark] Session-level time travel Spark 4.1 - Follow up to #15193#16205
gabeiglio wants to merge 1 commit intoapache:mainfrom
gabeiglio:spark-4.1-session-timestamp

Conversation

@gabeiglio
Copy link
Copy Markdown
Contributor

@gabeiglio gabeiglio commented May 3, 2026

This PR is a follow up to #15193 for Session-Level time travel in Spark.

The previous PR works for Spark 4.0 and below since Iceberg still performs snapshot selection at scan time. But, in the new DSV2 that is not possible anymore, therefore, I am proposing a Spark extension that post-planning replaces DSV2 with the correct timestamp if there is one set in the spark conf, this allows us to still have this very useful time-travel conf.

This rule, follows the same pattern as ResolveBranch which is another poshoc rule created due to the same changes in DSV2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant