eldenmoon commented on code in PR #40398:
URL: https://github.com/apache/doris/pull/40398#discussion_r1744742302
##########
be/src/vec/columns/column_object.cpp:
##########
@@ -1877,6 +1877,10 @@ void
ColumnObject::for_each_imutable_subcolumn(ImutableColumnCallback callback)
}
}
+bool ColumnObject::is_exclusive() const {
+ for_each_imutable_subcolumn([](const auto& subcolumn) { return
subcolumn.is_exclusive(); });
Review Comment:
bool is_exclusive = true
for_each_imutable_subcolumn([](const auto& subcolumn) { if
(!subcolumn.is_exclusive()) {is_exclusive = false} });
return is_exclusive && IColumn::is_exclusive();;
--
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]