Skip to content

Spark 4.1: Add ResolveBranch path identifier tests#15816

Open
manuzhang wants to merge 1 commit intoapache:mainfrom
manuzhang:spark-resolve-branch-tests
Open

Spark 4.1: Add ResolveBranch path identifier tests#15816
manuzhang wants to merge 1 commit intoapache:mainfrom
manuzhang:spark-resolve-branch-tests

Conversation

@manuzhang
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Spark 4.1 test coverage to ensure Iceberg’s ResolveBranch analyzer rule correctly “pins” the resolved branch into DSv2 path-based identifiers (including metadata selector paths), so refreshes keep targeting the intended branch.

Changes:

  • Introduces TestResolveBranch validating branch resolution for path-based reads when WAP is enabled.
  • Verifies PathIdentifier.location formatting for both plain paths (#branch_<name>) and metadata-selector paths (#files,branch_<name>).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@manuzhang manuzhang force-pushed the spark-resolve-branch-tests branch 2 times, most recently from b704b59 to eaa0b8a Compare March 30, 2026 03:58
Co-authored-by: Codex <codex@openai.com>
@manuzhang manuzhang force-pushed the spark-resolve-branch-tests branch from eaa0b8a to eb2e2a0 Compare March 30, 2026 04:05
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.

2 participants