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 20:23:00 UTC

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

Dmitry Lychagin created ASTERIXDB-2777:
------------------------------------------

             Summary: 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
             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)