Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug](exchange)fix the exchange not skip offset rows #42190

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

zhangstar333
Copy link
Contributor

Proposed changes

before the fix, the exchange operator will return some error result.

the set_num_rows function will save some rows[0, length), remove others;
but here need skip offset rows, so need skip[0,offset) rows, should use skip_num_rows.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@zhangstar333
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.46% (9699/25891)
Line Coverage: 28.71% (80523/280472)
Region Coverage: 28.14% (41648/147990)
Branch Coverage: 24.71% (21164/85638)
Coverage Report: http://coverage.selectdb-in.cc/coverage/2d27386747a50679a8926055e8b098153dfec492_2d27386747a50679a8926055e8b098153dfec492/report/index.html

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 22, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

@HappenLee HappenLee merged commit 441966a into apache:master Oct 23, 2024
25 of 28 checks passed
zhangstar333 added a commit to zhangstar333/incubator-doris that referenced this pull request Oct 23, 2024
before the fix, the exchange operator will return some error result.

the `set_num_rows` function will save some rows[0, length), remove
others;
but here need skip offset rows, so need skip[0,offset) rows, should use
`skip_num_rows`.
zhangstar333 added a commit to zhangstar333/incubator-doris that referenced this pull request Oct 23, 2024
yiguolei pushed a commit that referenced this pull request Oct 24, 2024
zhangstar333 added a commit that referenced this pull request Oct 24, 2024
@yiguolei yiguolei added the p0_w label Oct 25, 2024
zhangstar333 added a commit to zhangstar333/incubator-doris that referenced this pull request Oct 25, 2024
before the fix, the exchange operator will return some error result.

the `set_num_rows` function will save some rows[0, length), remove
others;
but here need skip offset rows, so need skip[0,offset) rows, should use
`skip_num_rows`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.1.7-merged dev/3.0.x p0_w reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants