airborne12 commented on code in PR #43243: URL: https://github.com/apache/doris/pull/43243#discussion_r1828880814
########## be/src/vec/functions/array/function_array_index.h: ########## @@ -217,7 +217,7 @@ class FunctionArrayIndex : public IFunction { const auto& right_chars = reinterpret_cast<const ColumnString&>(right_column).get_chars(); // prepare return data - auto dst = ColumnVector<ResultType>::create(offsets.size()); + auto dst = ColumnVector<ResultType>::create(offsets.size(), 0); Review Comment: Why filled with 0 with dst column, not dst_null_column? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org