Skip to content

Conversation

@zhangyue-hashdata
Copy link
Contributor

Seqscan is a special case, it's targetlist is a projection of the relation's attributes, so we need to find the attribute number of the column in the relation.
While TargetEntry::resno is just the attribute number for dynamic seqscan.

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


Copy link
Contributor

@my-ship-it my-ship-it left a comment

Choose a reason for hiding this comment

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

LGTM

@my-ship-it my-ship-it requested a review from yjhjstz July 17, 2025 02:00
@yjhjstz
Copy link
Member

yjhjstz commented Jul 17, 2025

test this by tpc-ds ?

@zhangyue-hashdata
Copy link
Contributor Author

test this by tpc-ds ?

tested on the TPC-DS 1TB dataset

@my-ship-it my-ship-it force-pushed the main branch 6 times, most recently from c20580f to c114dcc Compare July 30, 2025 01:23
@my-ship-it my-ship-it force-pushed the main branch 3 times, most recently from 56d2f47 to c9c4da5 Compare July 31, 2025 09:43
Seqscan is a special case, it's targetlist is a projection of the
relation's attributes, so we need to find the attribute number of
the column in the relation.
While TargetEntry::resno is just the attribute number for dynamic
seqscan.
@my-ship-it my-ship-it merged commit 13a3dc4 into apache:main Aug 1, 2025
27 checks passed
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