alamb commented on issue #9148:
URL: 
https://github.com/apache/arrow-datafusion/issues/9148#issuecomment-1932235668

   Ran this on my M3 Mac and it finished in 144ms
   
   
   ```shell
   andrewlamb@Andrews-MacBook-Pro:~/Downloads$ ./rust_playground
   just before df -> 1
   reading df -> 6
   df aggregation -> 144
   results -> Ok([RecordBatch { schema: Schema { fields: [Field { name: 
"SUM(?table?.trip_time)", data_type: Int64, nullable: true, dict_id: 0, 
dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: 
[PrimitiveArray<Int64>
   [
     20227776240,
   ]], row_count: 1 }])
   andrewlamb@Andrews-MacBook-Pro:~/Downloads$
   ```
   
   When I ran the debug build, it took more like 2 seconds:
   
   ```shell
   andrewlamb@Andrews-MacBook-Pro:~/Downloads$ ./rust_playground.debug
   just before df -> 6
   reading df -> 17
   df aggregation -> 1822
   results -> Ok([RecordBatch { schema: Schema { fields: [Field { name: 
"SUM(?table?.trip_time)", data_type: Int64, nullable: true, dict_id: 0, 
dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: 
[PrimitiveArray<Int64>
   [
     20227776240,
   ]], row_count: 1 }])
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to