Ted-Jiang commented on issue #1823:
URL: 
https://github.com/apache/arrow-datafusion/issues/1823#issuecomment-1039896766


   Test result of use `roaring-rs` and `croaring-rs` (use same logic: insert 
one value one time)
   
   1million_rows_10thousand_distinct.parquet
   ```
   bitmap distinct 
   
   (roaring-rs)
   +---------------------------------+
   | BITMAPCOUNTDISTINCT(test.value) |
   +---------------------------------+
   | 10000                           |
   +---------------------------------+
   1 row in set. Query took 0.052 seconds
   
   (croaring-rs)
   +---------------------------------+
   | BITMAPCOUNTDISTINCT(test.value) |
   +---------------------------------+
   | 10000                           |
   +---------------------------------+
   1 row in set. Query took 0.038 seconds.
   
   ```
   
   1million_1million.parquet
   ```
   roaring-rs
   +---------------------------------+
   | BITMAPCOUNTDISTINCT(test.value) |
   +---------------------------------+
   | 631504                          |
   +---------------------------------+
   1 row in set. Query took 0.175 seconds(roaring-rs).
   
   croaring-rs
   +---------------------------------+
   | BITMAPCOUNTDISTINCT(test.value) |
   +---------------------------------+
   | 631504                          |
   +---------------------------------+
   1 row in set. Query took 0.052 seconds (croaring-rs).
   ```


-- 
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