Dmitry Lychagin created ASTERIXDB-2413:
------------------------------------------
Summary: IllegalStateException when statement parameter is used in
SQL aggregate function
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
The following query fails with IllegalStateException:
{{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)