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


##########
be/src/vec/functions/functions_comparison.h:
##########
@@ -112,9 +112,9 @@ struct GenericComparisonImpl {
 
     static void NO_INLINE vector_constant(const IColumn& a, const IColumn& b,
                                           PaddedPODArray<UInt8>& c) {
-        auto b_materialized = 
b.clone_resized(1)->convert_to_full_column_if_const();
-        for (size_t i = 0, size = a.size(); i < size; ++i)
-            c[i] = Op::apply(a.compare_at(i, 0, *b_materialized, 1), 0);
+        for (size_t i = 0, size = a.size(); i < size; ++i){

Review Comment:
   the change seems will cause coredump



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