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 2020/09/08 22:59:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17192521#comment-17192521 ]
ASF subversion and git services commented on ASTERIXDB-2777:
------------------------------------------------------------
Commit 75729167ec0b034c9b08a781eba6b55b8ea18f21 in asterixdb's branch refs/heads/master from Dmitry Lychagin
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=7572916 ]
[ASTERIXDB-2777][COMP] Fix CREATE FUNCTION failure
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Fixed illegal state error with CREATE FUNCTION when
a function parameter is used in HAVING clause
Change-Id: Ic1ceab1ff39d7d4512c83fabab894ca301afd79a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7863
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dm...@couchbase.com>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
> 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)