Skip to content

[fix](read) remove logic of estimating count of rows to read in segment iterator to avoid wrong result of unique key (#29109) - #29110

Merged
yiguolei merged 1 commit into
apache:branch-2.0from
jacktengg:fix1227-2.0
Dec 27, 2023
Merged

[fix](read) remove logic of estimating count of rows to read in segment iterator to avoid wrong result of unique key (#29109)#29110
yiguolei merged 1 commit into
apache:branch-2.0from
jacktengg:fix1227-2.0

Conversation

@jacktengg

Copy link
Copy Markdown
Contributor

Proposed changes

Pick from #29109

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@jacktengg

Copy link
Copy Markdown
ContributorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

@doris-robot

Copy link
Copy Markdown

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.83 seconds
stream load tsv: 566 seconds loaded 74807831229 Bytes, about 126 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 66 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 29.8 seconds inserted 10000000 Rows, about 335K ops/s
storage size: 17162096331 Bytes

@jacktengg

Copy link
Copy Markdown
ContributorAuthor

run p1

@doris-robot

Copy link
Copy Markdown

TeamCity be ut coverage result:
Function Coverage: 37.80% (8006/21181)
Line Coverage: 29.48% (65067/220716)
Region Coverage: 28.94% (33452/115607)
Branch Coverage: 24.79% (17157/69196)
Coverage Report: http://coverage.selectdb-in.cc/coverage/0137f89a77f6065583559ada1a872895b95a0cc5_0137f89a77f6065583559ada1a872895b95a0cc5/report/index.html

@yiguoleiyiguolei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Dec 27, 2023
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit 74b5ef0 into apache:branch-2.0Dec 27, 2023
jacktengg added a commit to jacktengg/incubator-doris that referenced this pull request Jan 4, 2024
…in segment iterator to avoid wrong result of unique key (apache#29109) (apache#29110)"
This reverts commit 74b5ef0.
And fix bug: when avg_row_size > config::doris_scan_block_max_mb,
_opts.block_row_max will be set to 0, which will cause early EOF.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jacktengg@doris-robot@yiguolei