eldenmoon commented on code in PR #53774:
URL: https://github.com/apache/doris/pull/53774#discussion_r2228133315
##########
be/src/pipeline/exec/scan_operator.cpp:
##########
@@ -929,6 +929,13 @@ Status
ScanLocalState<Derived>::_normalize_is_null_predicate(vectorized::VExpr*
return Status::OK();
}
+ // cast(var['a'] as int) is null, (var is a variant column)
+ // In this case, we cannot remove the cast and generate predicate, because
we need to execute the cast first to determine if it's null.
Review Comment:
generate null predicate using cast type
--
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]