Skip to content

[feature](struct-type) support csv format stream load for struct type - #17143

Merged
xy720 merged 8 commits into
apache:masterfrom
xy720:csv-load-for-struct
Mar 1, 2023
Merged

[feature](struct-type) support csv format stream load for struct type#17143
xy720 merged 8 commits into
apache:masterfrom
xy720:csv-load-for-struct

Conversation

@xy720

Copy link
Copy Markdown
Member

Proposed changes

Issue Number: close#16547

Refactor from_string method in data_type_struct.cpp to support csv format stream load for struct type.

Problem summary

Describe your changes.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

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

@github-actions

Copy link
Copy Markdown
Contributor

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

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720xy720 added area/stream-load struct-type Issues or PRs related to struct type labels Feb 26, 2023
@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@xy720

Copy link
Copy Markdown
MemberAuthor

run p0

@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720xy720 mentioned this pull request Feb 26, 2023
88 tasks
@xy720

Copy link
Copy Markdown
MemberAuthor

run p0

@hello-stephen

hello-stephen commented Feb 26, 2023

Copy link
Copy Markdown
Contributor

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.52 seconds
stream load tsv: 461 seconds loaded 74807831229 Bytes, about 154 MB/s
stream load json: 36 seconds loaded 2358488459 Bytes, about 62 MB/s
stream load orc: 67 seconds loaded 1101869774 Bytes, about 15 MB/s
stream load parquet: 28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230301033930_clickbench_pr_106098.html

@xy720

Copy link
Copy Markdown
MemberAuthor

run p0

@xy720
xy720force-pushed the csv-load-for-struct branch from e3e3d0a to dacc9eeCompareFebruary 27, 2023 05:18
@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

1 similar comment
@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@xy720

Copy link
Copy Markdown
MemberAuthor

run p0

@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

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

cambyzju
cambyzju previously approved these changes Feb 27, 2023

@cambyzjucambyzju 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 Feb 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.

@xy720

Copy link
Copy Markdown
MemberAuthor

run p0

@xy720
xy720force-pushed the csv-load-for-struct branch from 69eeb7b to adf2fafCompareFebruary 28, 2023 02:24
@github-actionsgithub-actionsBot removed the approved Indicates a PR has been approved by one committer. label Feb 28, 2023
@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@xy720
xy720force-pushed the csv-load-for-struct branch from adf2faf to b190c50CompareFebruary 28, 2023 08:06
@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720
xy720force-pushed the csv-load-for-struct branch from b190c50 to b22c713CompareFebruary 28, 2023 14:19
@xy720

Copy link
Copy Markdown
MemberAuthor

xxx

@xy720

Copy link
Copy Markdown
MemberAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720

xy720 commented Mar 1, 2023

Copy link
Copy Markdown
MemberAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

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

@cambyzjucambyzju 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 Mar 1, 2023
@github-actions

Copy link
Copy Markdown
Contributor

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

@xy720
xy720 merged commit 0732eb5 into apache:masterMar 1, 2023
yagagagaga pushed a commit to yagagagaga/doris that referenced this pull request Mar 9, 2023
…apache#17143)
Refactor from_string method in data_type_struct.cpp to support csv format stream load for struct type.
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.area/stream-loadarea/vectorizationkind/testreviewedstruct-typeIssues or PRs related to struct type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Roadmap] Support Struct+Map Type

3 participants

@xy720@hello-stephen@cambyzju