Skip to content

[bugfix](array) fix element revert on error in DataTypeArray::from_string#16434

Merged
yiguolei merged 2 commits intoapache:masterfrom
xiaokang:fix_insert_array_core
Feb 6, 2023
Merged

[bugfix](array) fix element revert on error in DataTypeArray::from_string#16434
yiguolei merged 2 commits intoapache:masterfrom
xiaokang:fix_insert_array_core

Conversation

@xiaokang
Copy link
Contributor

@xiaokang xiaokang commented Feb 6, 2023

Proposed changes

Issue Number: close #16439

Problem summary

Describe your changes.

  1. add element revert on error for next_element_from_string
  2. change revert from array_column to nested_column

Checklist(Required)

  1. Does it affect the original behavior:
    • Yes
    • No
    • I don't know
  2. Has unit tests been added:
    • Yes
    • No
    • No Need
  3. Has document been added or modified:
    • Yes
    • No
    • No Need
  4. Does it need to update dependencies:
    • Yes
    • No
  5. Are there any changes that cannot be rolled back:
    • Yes (If Yes, please explain WHY)
    • No

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
Contributor

github-actions bot commented Feb 6, 2023

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

@hello-stephen
Copy link
Contributor

hello-stephen commented Feb 6, 2023

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.7 seconds
load time: 463 seconds
storage size: 17170934985 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230206074938_clickbench_pr_90759.html

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

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

Copy link
Contributor

@cambyzju cambyzju 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 Feb 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit 36a5e0a into apache:master Feb 6, 2023
zclllyybb pushed a commit to zclllyybb/doris that referenced this pull request Feb 8, 2023
…ring (apache#16434)

* fix array from_string element revert on error

* add testcase
morningman pushed a commit that referenced this pull request Feb 8, 2023
…ring (#16434)

* fix array from_string element revert on error

* add testcase
morningman added a commit that referenced this pull request Feb 9, 2023
morningman pushed a commit that referenced this pull request Aug 11, 2023
…ring (#16434)

* fix array from_string element revert on error

* add testcase
GoGoWen pushed a commit to GoGoWen/incubator-doris that referenced this pull request Sep 7, 2023
…ring (apache#16434)

* fix array from_string element revert on error

* add testcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] insert into table with bad array value cause be core

6 participants