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:43:00 UTC

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

     [ https://issues.apache.org/jira/browse/HAWQ-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenglin Tao closed HAWQ-1852.
------------------------------
    Fix Version/s: 3.1.0.0
         Assignee: Zhenglin Tao  (was: Ruilong Huo)
       Resolution: Fixed

> 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: Zhenglin Tao
>            Priority: Major
>             Fix For: 3.1.0.0
>
>
> 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)