Skip to content

Conversation

@eldenmoon
Copy link
Member

@eldenmoon eldenmoon commented Jul 16, 2024

…t column (apache#37674)

…t column

Eg. segment 1 has no variant columns and fill the dst with default
value, which the variant columns's root is type nothing with n rows(not
finalized), then reading segment2 with the none finalized variant column
will lead to nullptr in `obj.get_root();`
…he#37839)

`finalize` may change the inner data structure in ColumnObject, and lead
to heap use after free in some scenario

Issue Number: close #xxx

<!--Describe your changes.-->
)

1. If columns is ColumnObject(Int32), root cast to ColumnString will
result crash
2. variant with invalid json will be stored as raw string instead of
throwing exception
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@eldenmoon eldenmoon changed the base branch from master to branch-2.1 July 16, 2024 09:37
@eldenmoon
Copy link
Member Author

run buildall

@github-actions
Copy link
Contributor

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

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 36.45% (9240/25349)
Line Coverage: 28.00% (75518/269738)
Region Coverage: 26.82% (38824/144776)
Branch Coverage: 23.55% (19709/83674)
Coverage Report: http://coverage.selectdb-in.cc/coverage/1bfb2d504be188774c9312a6faead230a2bd45a1_1bfb2d504be188774c9312a6faead230a2bd45a1/report/index.html

@yiguolei yiguolei merged commit b15ccdb into apache:branch-2.1 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants