yiguolei commented on code in PR #39497: URL: https://github.com/apache/doris/pull/39497#discussion_r1721370343
########## be/src/olap/accept_null_predicate.h: ########## @@ -158,21 +156,26 @@ class AcceptNullPredicate : public ColumnPredicate { } // create selected_flags uint16_t max_idx = sel[size - 1]; + std::vector<uint16_t> old_sel(size); + memcpy(old_sel.data(), sel, sizeof(uint16_t) * size); const auto& nullable_col = assert_cast<const vectorized::ColumnNullable&>(column); // call nested predicate evaluate uint16_t new_size = _nested->evaluate(nullable_col.get_nested_column(), sel, size); Review Comment: sel 1,2,3,7,8,9 sel 1,2,3,4,5,6,7,8,9 -- 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