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

[fix](multi-table) fix unknown source slot descriptor when load multi table #25762

Merged
merged 4 commits into from
Oct 25, 2023

Conversation

sollhui
Copy link
Contributor

@sollhui sollhui commented Oct 23, 2023

Proposed changes

Bug

image

when use one single multi table load to load data to multi tables, it can not load successfully for unknown source slot descriptor.

Reason

The reason why 'unknown source slot descriptor' is multi table shared one descriptor when load.

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...

@sollhui
Copy link
Contributor Author

sollhui commented Oct 23, 2023

run buildall

@github-actions
Copy link
Contributor

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

@sollhui
Copy link
Contributor Author

sollhui commented Oct 23, 2023

run buildall

@github-actions
Copy link
Contributor

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

@sollhui sollhui changed the title (improvement)(multi-table) support multi table load [improvement](multi-table) support multi table load Oct 23, 2023
@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.03% (8298/22410)
Line Coverage: 29.16% (66621/228433)
Region Coverage: 27.76% (34616/124708)
Branch Coverage: 24.41% (17578/72016)
Coverage Report: http://coverage.selectdb-in.cc/coverage/f5fcb2f1cef6fc3b55685be4ebcc9268d63fc274_f5fcb2f1cef6fc3b55685be4ebcc9268d63fc274/report/index.html

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.09 seconds
stream load tsv: 554 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162010907 Bytes

@sollhui
Copy link
Contributor Author

sollhui commented Oct 25, 2023

run buildall

@github-actions
Copy link
Contributor

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

@sollhui
Copy link
Contributor Author

sollhui commented Oct 25, 2023

run buildall

Copy link
Contributor

@freemandealer freemandealer 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
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions
Copy link
Contributor

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

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.28 seconds
stream load tsv: 555 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 21 seconds loaded 2358488459 Bytes, about 107 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 34 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162212686 Bytes

@sollhui sollhui changed the title [improvement](multi-table) support multi table load [fix](multi-table) fix unknown source slot descriptor when load multi table Oct 25, 2023
@sollhui
Copy link
Contributor Author

sollhui commented Oct 25, 2023

run clickbench

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.31 seconds
stream load tsv: 556 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 64 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 33 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size: 17162141846 Bytes

Copy link
Contributor

@dataroaring dataroaring 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 25, 2023
@github-actions
Copy link
Contributor

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

@dataroaring dataroaring added the usercase Important user case type label label Oct 25, 2023
@dataroaring dataroaring merged commit e783ef7 into apache:master Oct 25, 2023
29 of 30 checks passed
dutyu pushed a commit to dutyu/doris that referenced this pull request Oct 28, 2023
sollhui added a commit to sollhui/doris that referenced this pull request Nov 1, 2023
xiaokang pushed a commit that referenced this pull request Nov 1, 2023
wsjz pushed a commit to wsjz/incubator-doris that referenced this pull request Nov 19, 2023
gnehil pushed a commit to gnehil/doris that referenced this pull request Dec 4, 2023
@xiaokang xiaokang mentioned this pull request Dec 4, 2023
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
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.0.3-merged merge_conflict reviewed usercase Important user case type label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants