[
https://issues.apache.org/jira/browse/ASTERIXDB-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till updated ASTERIXDB-2403:
----------------------------
Fix Version/s: 0.9.4.2
> Group-by can produce empty array result
> ---------------------------------------
>
> Key: ASTERIXDB-2403
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2403
> Project: Apache AsterixDB
> Issue Type: Bug
> Affects Versions: 0.9.4
> Reporter: Xikui Wang
> Assignee: Dmitry Lychagin
> Priority: Major
> Fix For: 0.9.4.2
>
>
> Following query can produce a empty list. If we put this query into a
> sub-query and insert it into dataset with auuid, this can cause a meaningless
> record.
> {code}
> drop dataverse test if exists;
> create dataverse test;
> use test;
> create type testType as open {
> id : int64
> };
> create dataset testDataset(testType) primary key id;
> use test;
> let val1=(select country, count(*) from testDataset group by country)
> select val1;
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)