You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/11 22:35:00 UTC
[jira] [Commented] (ASTERIXDB-2528) Illegal state exception in the
compiler
[ https://issues.apache.org/jira/browse/ASTERIXDB-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790024#comment-16790024 ]
ASF subversion and git services commented on ASTERIXDB-2528:
------------------------------------------------------------
Commit 4b0ea93fd215b428abef872816f414b5ad1c2ec9 in asterixdb's branch refs/heads/master from Dmitry Lychagin
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=4b0ea93 ]
[ASTERIXDB-2528][COMP] Fix illegal state exception in the compiler
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Fix illegal state exception raised by the compiler when
a variable used by SQL aggregate function is not mapped
by GROUP AS clause
Change-Id: I12bab27ad8e25d0bd55c900e559541eff2141fb9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/3257
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
> Illegal state exception in the compiler
> ---------------------------------------
>
> Key: ASTERIXDB-2528
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2528
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: COMP - Compiler
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Minor
>
> java.lang.Exception: IllegalStateException: []:[$x]
> thrown for the following query:
> {noformat}
> from [{"f2":1, "f1":"foo"}] as t
> let x = [9]
> group by t.f2
> group as g (t as tt)
> select t.f2, g, sum(x);
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)