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


##########
be/src/vec/columns/predicate_column.h:
##########
@@ -272,14 +275,14 @@ class PredicateColumnType final : public 
COWHelper<IColumn, PredicateColumnType<
             }
 
             char* destination = (char*)_pool->allocate(total_mem_size);
+            memcpy(destination, data_array, total_mem_size);
+            StringValue sv[num];

Review Comment:
   resize data and directly use data[i] ? 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to