Skip to content

Preserve parameterization in Append locus filters - #2336

Merged
reshke merged 1 commit into
apache:mainfrom
reshke:fix-sqlancer-query-partitioning-20261116
Nov 17, 2026
Merged

reshke merged 1 commit into
apache:mainfrom
reshke:fix-sqlancer-query-partitioning-20261116

Conversation

@reshke

@reshke reshke commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Fixes recent SQLLancer failure

Keep the child path parameterized when adding a segment-filter Result below a mixed-locus Append. Add a regression case for the replicated-parent and distributed-child path.

Reproducer: ("bms_equal(PATH_REQ_OUTER(subpath), required_outer)", File: "pathnode.c", Line: 1494)

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@reshke
reshke requested a review from tuhaihe November 16, 2026 14:55
@reshke

reshke commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

@reshke
reshke force-pushed the fix-sqlancer-query-partitioning-20261116 branch from 1fd44e0 to 81f07b4 Compare November 16, 2026 16:26

@yjhjstz yjhjstz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Alena0704 Alena0704 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I agree that this is a bug, and the fix looks correct.

@reshke
reshke force-pushed the fix-sqlancer-query-partitioning-20261116 branch 2 times, most recently from cc11511 to 00dbb93 Compare November 17, 2026 05:11
@reshke
reshke enabled auto-merge (squash) November 17, 2026 05:11
@reshke
reshke disabled auto-merge November 17, 2026 05:11
@reshke
reshke enabled auto-merge (squash) November 17, 2026 05:40
@reshke
reshke force-pushed the fix-sqlancer-query-partitioning-20261116 branch from 00dbb93 to 639447d Compare November 17, 2026 07:17
Keep the child path parameterized when adding a segment-filter Result below a mixed-locus Append. Add a regression case for the replicated-parent and distributed-child path.

Reproducer: ("bms_equal(PATH_REQ_OUTER(subpath), required_outer)", File: "pathnode.c", Line: 1494)
@reshke
reshke force-pushed the fix-sqlancer-query-partitioning-20261116 branch from 639447d to 051d264 Compare November 17, 2026 09:39
@reshke
reshke merged commit 85b06fd into apache:main Nov 17, 2026
128 of 130 checks passed
leborchuk pushed a commit to leborchuk/cloudberry that referenced this pull request Nov 19, 2026
Keep the child path parameterized when adding a segment-filter Result below a mixed-locus Append. Add a regression case for the replicated-parent and distributed-child path.

Reproduced in SQLLancer run
Vlasdislav pushed a commit to Vlasdislav/cloudberry that referenced this pull request Nov 22, 2026
Keep the child path parameterized when adding a segment-filter Result below a mixed-locus Append. Add a regression case for the replicated-parent and distributed-child path.

Reproduced in SQLLancer run

(cherry picked from commit 85b06fd)
Sign up for free to 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.

3 participants