You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (Jira)" <ji...@apache.org> on 2020/09/08 22:58:00 UTC

[jira] [Resolved] (ASTERIXDB-2777) CREATE FUNCTION fails when parameter is used in HAVING clause

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

Dmitry Lychagin resolved ASTERIXDB-2777.
----------------------------------------
    Resolution: Fixed

> CREATE FUNCTION fails when parameter is used in HAVING clause
> -------------------------------------------------------------
>
>                 Key: ASTERIXDB-2777
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2777
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>    Affects Versions: 0.9.5
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Major
>             Fix For: 0.9.6
>
>
> CREATE FUNCTION fails when parameter is used in HAVING clause
> {noformat}
> create function test.f1(v) {
>   select value x
>   from range(1, 9) r
>   group by r % 3 as x
>   having count(*) > v
>   order by x
> };
> {noformat}
> Error: CompilationException: ASX1038: Illegal state.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)