Uh oh!
There was an error while loading. Please reload this page.
[FIX](array)fix index writer with add_array_values with first empty array for a batch - #35086
Conversation
doris-robot
commented
May 20, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
clang-tidy review says "All clean, LGTM! 👍" |
amorynan
commented
May 20, 2024
run buildall |
doris-robot
commented
May 20, 2024
TeamCity be ut coverage result: |
PR approved by anyone and no changes requested. |
PR approved by at least one committer and no changes requested. |
…array for a batch (#35086)
…pache#34683apache#34076 (apache#35926) ## Proposed changes see also for branch-2.1: apache#35837 and master: apache#34766apache#35086apache#34683apache#34076
Proposed changes
if first is empty array in coming batch data
fieldDataArray.values would not be initialized in ThreadState.init method,
then next array which to be inverted index will not be reset in Field because of this condition.
so we have to create a field into _doc to make thread init fieldDataArray
Issue Number: close #xxx
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...