Skip to content

PHOENIX-7892 Fix MutableIndexIT EXPLAIN assertions for projection filters - #2511

Merged
apurtell merged 1 commit into
apache:PHOENIX-7876-featurefrom
apurtell:PHOENIX-7892
Jun 10, 2026
Merged

PHOENIX-7892 Fix MutableIndexIT EXPLAIN assertions for projection filters#2511
apurtell merged 1 commit into
apache:PHOENIX-7876-featurefrom
apurtell:PHOENIX-7892

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

MutableIndexIT was refactored to ExplainPlanAttributes earlier and was not updated by PHOENIX-7886, so its testCompoundIndexKey and testMultipleUpdatesToSingleRow cases still assert
serverWhereFilter("SERVER FILTER BY ... ONLY"), which is now null, producing 10 failures across the parameterized configurations. Switch those assertions to serverProjectionFilter(columnEncoded), matching the BaseIndexIT pattern. Full MutableIndexIT now passes.

Co-authored-by: Claude Opus 4.8[1m] noreply@anthropic.com

…ters
MutableIndexIT was refactored to ExplainPlanAttributes earlier and was not
updated by PHOENIX-7886, so its testCompoundIndexKey and
testMultipleUpdatesToSingleRow cases still assert
serverWhereFilter("SERVER FILTER BY ... ONLY"), which is now null, producing
10 failures across the parameterized configurations. Switch those assertions
to serverProjectionFilter(columnEncoded), matching the BaseIndexIT pattern.
Full MutableIndexIT now passes.

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates MutableIndexIT EXPLAIN plan assertions to align with the post-refactor ExplainPlanAttributes representation of projection-only scans, fixing failures introduced by earlier changes where the old serverWhereFilter("... ONLY") expectation is now null.

Changes:

  • Replace serverWhereFilter("SERVER FILTER BY ... ONLY") assertions with serverProjectionFilter(columnEncoded) in testCompoundIndexKey.
  • Replace serverWhereFilter("SERVER FILTER BY ... ONLY") assertions with serverProjectionFilter(columnEncoded) in testMultipleUpdatesToSingleRow.

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

@apurtell
apurtell merged commit e177c4c into apache:PHOENIX-7876-featureJun 10, 2026
@apurtell
apurtell deleted the PHOENIX-7892 branch June 10, 2026 18:55
apurtell added a commit to apurtell/phoenix that referenced this pull request Jun 17, 2026
…ters (apache#2511)
Co-authored-by: Claude Opus 4.8[1m] <noreply@anthropic.com>
asf-gitbox-commits pushed a commit that referenced this pull request Jul 24, 2026
…ters (#2511)
Co-authored-by: Claude Opus 4.8[1m] <noreply@anthropic.com>
apurtell added a commit to apurtell/phoenix that referenced this pull request Aug 4, 2026
…ters (apache#2511)
Co-authored-by: Claude Opus 4.8[1m] <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@apurtell