akashchamp commented on code in PR #68461:
URL: https://github.com/apache/doris/pull/68461#discussion_r4098205399


##########
be/src/exprs/function/cast/cast_to_variant.h:
##########
@@ -76,6 +76,21 @@ inline Status cast_from_variant_impl(FunctionContext* 
context, Block& block,
                              data_type_to->get_primitive_type() != TYPE_JSONB);
 
     if (is_root_valuable) {
+        if (is_string_type(data_type_to->get_primitive_type()) &&

Review Comment:
   Understood, thanks for confirming — keeping the boolean-root special case 
as-is for this 4.1 backport since master already fixed it differently for 5.0. 
No code change needed here.
   



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

Reply via email to