You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Zhenglin Tao (Jira)" <ji...@apache.org> on 2022/12/19 07:36:00 UTC

[jira] [Created] (HAWQ-1852) Fix find_udf

Zhenglin Tao created HAWQ-1852:
----------------------------------

             Summary: Fix find_udf
                 Key: HAWQ-1852
                 URL: https://issues.apache.org/jira/browse/HAWQ-1852
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Core
            Reporter: Zhenglin Tao
            Assignee: Ruilong Huo


If IsBuildInFunction returns false, then find_udf should return true
    directly, which means that the statement contains UDF. Otherwise, it
    should continue to recursively determine the args of FuncExpr through
    expression_tree_walker, because FuncExpr may contain recursive calls.
    For example, suppose "A" is an UDF, then "select A::text" meets this
    situation. The outter FuncExpr is "text" and the inner FuncExpr is "A".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)