You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/01/03 07:54:00 UTC

[jira] [Resolved] (ARROW-7478) [Rust] [DataFusion] Group by expression ignored unless paired with aggregate expression

     [ https://issues.apache.org/jira/browse/ARROW-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neville Dipale resolved ARROW-7478.
-----------------------------------
    Fix Version/s: 1.0.0
       Resolution: Fixed

Issue resolved by pull request 6115
[https://github.com/apache/arrow/pull/6115]

> [Rust] [DataFusion] Group by expression ignored unless paired with aggregate expression
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-7478
>                 URL: https://issues.apache.org/jira/browse/ARROW-7478
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust, Rust - DataFusion
>            Reporter: Kyle McCarthy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> GROUP BY expressions are ignored unless the query also contains an aggregate expression.
> To reproduce you can execute the following query on the aggregate_test_100 data set.
> {code:java}
> SELECT c2 FROM aggregate_test_100 GROUP BY c2{code}
> *Expected:*
> {{1}}
>  {{2}}
>  {{3}}
>  {{4}}
>  {{5}}
> *Actual:*
> {{2}}
>  {{5}}
>  {{...98 more rows...}}
>  
> The order of the expected isn't necessarily correct since the query doesn't contain an ORDER BY expression.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)