Skip to content

Conversation

@zxealous
Copy link
Contributor

Proposed changes

Issue Number: close #16925

Problem summary

in be/src/vec/data_types/data_type_factory.cpp:168, col_desc.contains_nulls[0] memory access out of bounds

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
Contributor

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

@github-actions
Copy link
Contributor

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

1 similar comment
@github-actions
Copy link
Contributor

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

void TypeDescriptor::add_sub_type(TypeDescriptor&& sub_type, std::string&& field_name,
bool&& is_nullable) {
children.emplace_back(sub_type);
if (!field_name.empty()) {
Copy link
Member

Choose a reason for hiding this comment

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

Better use a new method add_field_name for field_name.
Because field_name is only used for struct type.

Copy link
Member

@xy720 xy720 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

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

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Feb 21, 2023
@github-actions
Copy link
Contributor

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

@xy720 xy720 added area/array-type Issues or PRs related to array type struct-type Issues or PRs related to struct type map-type Issues or PRs related to map type and removed approved Indicates a PR has been approved by one committer. labels Feb 21, 2023
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xy720 xy720 added the kind/fix Categorizes issue or PR as related to a bug. label Feb 21, 2023
Copy link
Contributor Author

@zxealous zxealous left a comment

Choose a reason for hiding this comment

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

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Feb 21, 2023
@github-actions
Copy link
Contributor

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

@zxealous
Copy link
Contributor Author

run buildall

@luozenglin luozenglin merged commit 29c46d6 into apache:master Feb 22, 2023
@zxealous zxealous deleted the fix-load-orc branch February 22, 2023 02:25
yagagagaga pushed a commit to yagagagaga/doris that referenced this pull request Mar 9, 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. area/array-type Issues or PRs related to array type area/vectorization kind/fix Categorizes issue or PR as related to a bug. map-type Issues or PRs related to map type reviewed struct-type Issues or PRs related to struct type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [daily] be core when load array orc file

4 participants