You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yiguolei (via GitHub)" <gi...@apache.org> on 2023/06/25 11:01:27 UTC

[GitHub] [doris] yiguolei commented on a diff in pull request #21139: [Bug](javaudf) disable expr pushdown for javaudf

yiguolei commented on code in PR #21139:
URL: https://github.com/apache/doris/pull/21139#discussion_r1241135051


##########
be/src/vec/exec/scan/vscan_node.cpp:
##########
@@ -402,7 +402,7 @@ Status VScanNode::_normalize_conjuncts() {
             RETURN_IF_ERROR(_normalize_predicate(conjunct->root(), conjunct.get(), new_root));
             if (new_root) {
                 conjunct->set_root(new_root);
-                if (_should_push_down_common_expr()) {
+                if (_should_push_down_common_expr() && !conjunct->root()->is_java_udf()) {

Review Comment:
   if the new root is   javaudf expr or javaudf expr, then the new root is a and compound expr. It could not be pushdown to scanner ?



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org