You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "zhangjun (JIRA)" <ji...@apache.org> on 2018/11/14 09:25:00 UTC

[jira] [Updated] (IMPALA-7849) How can I create a User-defined analytic function?

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

zhangjun updated IMPALA-7849:
-----------------------------
         Labels: User-defined analytic function  (was: )
    Component/s:     (was: Clients)

> How can I create a User-defined analytic function?
> --------------------------------------------------
>
>                 Key: IMPALA-7849
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7849
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 3.0
>            Reporter: zhangjun
>            Priority: Major
>              Labels: User-defined, analytic, function
>
> I can create a UDAF with the "create aggregate function ....", but when I use this aggregate function for the analysis function, such as sql : select hour,my_udaf(id) over (partition by hour) from mytable ,it reports the following error.
> ERROR: AnalysisException: Aggregate function 'my_udaf(id)' not supported with OVER clause.
> How can I create the analytic function? Is this an imperfect function, or is it not designed to provide this function for some reason?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org