mrhhsg commented on code in PR #54068:
URL: https://github.com/apache/doris/pull/54068#discussion_r2335915446
##########
be/src/vec/columns/column_map.cpp:
##########
@@ -505,6 +507,96 @@ MutableColumnPtr ColumnMap::permute(const Permutation&
perm, size_t limit) const
assert_cast<const
ColumnArray&>(*k_arr).get_offsets_ptr());
}
+Status ColumnMap::deduplicate_keys(bool recursive) {
+ const auto inner_rows = keys_column->size();
+ const auto rows = offsets_column->size();
+
+ if (recursive) {
Review Comment:
理论上咱们生成一个 map column 时会就会去重,那么大部分场景下可能不需要递归式的去重。
--
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]