You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kyle McCarthy (Jira)" <ji...@apache.org> on 2019/12/30 19:43:00 UTC

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

Kyle McCarthy created ARROW-7478:
------------------------------------

             Summary: [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


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)