HappenLee commented on code in PR #41623:
URL: https://github.com/apache/doris/pull/41623#discussion_r1794907180
##########
be/src/vec/columns/column_vector.cpp:
##########
@@ -431,6 +431,16 @@ size_t ColumnVector<T>::filter(const IColumn::Filter&
filter) {
return new_size;
}
+template <typename T>
+void ColumnVector<T>::insert_many_from(const IColumn& src, size_t position,
size_t length) {
+ auto old_size = data.size();
+ data.resize(old_size + length);
+ auto& vals = assert_cast<const Self&>(src).get_data();
Review Comment:
better use `memcpy` to do the work
--
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]