[
https://issues.apache.org/jira/browse/ASTERIXDB-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543617#comment-16543617
]
ASF subversion and git services commented on ASTERIXDB-2411:
------------------------------------------------------------
Commit 36d98e9b252074b0ce8bc1dd5d142ca3a3f17856 in asterixdb's branch
refs/heads/master from [~dlychagin-cb]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=36d98e9 ]
[ASTERIXDB-2411][COMP] Error when aggregate inside between operator
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- OperatorExpressionVisitor must copy target expression
when processing between operator
Change-Id: I0839e4ce89da524050ce30542fc8788963c4cbe7
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2759
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Taewoo Kim <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
> Error when SQL aggregate function is used in BETWEEN operator
> -------------------------------------------------------------
>
> Key: ASTERIXDB-2411
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2411
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Dmitry Lychagin
> Assignee: Dmitry Lychagin
> Priority: Minor
>
> Error: ASX1079: sql-count is a SQL-92 aggregate function. The SQL++ core
> aggregate function array_sql-count could potentially express the intent
> Reproducer:
> create type test.TestType as \{ c_id: string };
> create dataset t1(TestType) primary key c_id;
> insert into t1 select value t from [
> \{"c_id":"01","c_b":true, "c_d":900,"c_i":999999},
> \{"c_id":"02","c_b":true, "c_d":800,"c_i":888888},
> \{"c_id":"03","c_b":true, "c_d":700,"c_i":777777},
> \{"c_id":"05","c_b":false,"c_d":111,"c_i":111111}
> ] t
> select value c_b from t1
> group by c_b
> having count(c_d) between 2 and 4
>
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)