Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7478

[Rust] [DataFusion] Group by expression ignored unless paired with aggregate expression

    XMLWordPrintableJSON

    Details

      Description

      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.

      SELECT c2 FROM aggregate_test_100 GROUP BY c2

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kylemccarthy Kyle McCarthy
                Reporter:
                kylemccarthy Kyle McCarthy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h