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 2018/07/14 00:43:00 UTC

[jira] [Updated] (ASTERIXDB-2413) IllegalStateException when statement parameter is used after group by

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

Dmitry Lychagin updated ASTERIXDB-2413:
---------------------------------------
    Summary: IllegalStateException when statement parameter is used after group by  (was: IllegalStateException when statement parameter is used in SQL aggregate function)

> IllegalStateException when statement parameter is used after group by
> ---------------------------------------------------------------------
>
>                 Key: ASTERIXDB-2413
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2413
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: COMP - Compiler
>            Reporter: Dmitry Lychagin
>            Assignee: Dmitry Lychagin
>            Priority: Minor
>
> The following query fails with IllegalStateException:
> // param args:json=[2]
> from [
>  \{ "x": false, "y": 1 },
>  \{ "x": false, "y": 2 },
>  \{ "x": true, "y": 3 },
>  \{ "x": true, "y": 4 },
>  \{ "x": true, "y": 5 }
>  ] t
>  group by t.x
>  having count(t.y) > $1
>  select value t.x
> ---> IllegalStateException: []:[?1]
>  



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