yiguolei commented on code in PR #51340:
URL: https://github.com/apache/doris/pull/51340#discussion_r2113281983


##########
be/src/vec/columns/column_vector.h:
##########
@@ -139,7 +139,11 @@ class ColumnVector final : public COWHelper<IColumn, 
ColumnVector<T>> {
     using Container = PaddedPODArray<value_type>;
 
     ColumnVector() = default;
-    ColumnVector(const size_t n) : data(n) {}
+
+    // for column boolean, must have initial value!

Review Comment:
   这种注释只是描述了当前代码的行为,看代码的人,还是不知道为什么UINT8 必须有初始化的值。



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