eldenmoon commented on code in PR #66204:
URL: https://github.com/apache/doris/pull/66204#discussion_r3670803754
##########
be/src/exec/common/variant_util.cpp:
##########
@@ -381,7 +382,9 @@ Status cast_column(const ColumnWithTypeAndName& arg, const
DataTypePtr& type, Co
// nullable to Variant instead of the root of Variant
// correct output: Nullable(Array(int)) ->
Nullable(Variant(Nullable(Array(int))))
// incorrect output: Nullable(Array(int)) -> Nullable(Variant(Array(int)))
- if (type->get_primitive_type() == TYPE_VARIANT) {
+ const bool target_is_variant_v2 =
Review Comment:
为什么特殊处理variant_v2?不处理有什么问题; 加上代码注释
--
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]