HaoYang670 edited a comment on issue #1623:
URL: 
https://github.com/apache/arrow-datafusion/issues/1623#issuecomment-1032363131


   This query works:
   ```sql
   ❯ select count(*), count(distinct stop_name), trip_tid from stops where 
stop_name is not null group by trip_tid limit 10;
   +-----------------+---------------------------------+----------+
   | COUNT(UInt8(1)) | COUNT(DISTINCT stops.stop_name) | trip_tid |
   +-----------------+---------------------------------+----------+
   | 1               | 1                               | 54787914 |
   | 1               | 1                               | 54804331 |
   | 1               | 1                               | 54756522 |
   | 1               | 1                               | 54791196 |
   | 1               | 1                               | 54775777 |
   | 1               | 1                               | 54788343 |
   | 1               | 1                               | 54788169 |
   | 2               | 2                               | 54793827 |
   | 1               | 1                               | 54776433 |
   | 1               | 1                               | 54788382 |
   +-----------------+---------------------------------+----------+
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to