HappenLee commented on code in PR #30152:
URL: https://github.com/apache/doris/pull/30152#discussion_r1473948066


##########
be/src/olap/accept_null_predicate.h:
##########
@@ -208,6 +165,49 @@ class AcceptNullPredicate : public ColumnPredicate {
     }
 
 private:
+    uint16_t _evaluate_inner(const vectorized::IColumn& column, uint16_t* sel,
+                             uint16_t size) const override {
+        if (column.has_null()) {
+            // create selected_flags
+            uint16_t max_idx = *std::max_element(sel, sel + size);
+            auto selected_flags_ptr = std::make_unique<bool[]>(max_idx + 1);

Review Comment:
   the sel size lower than 4096? better stack mem?



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

Reply via email to