andygrove commented on issue #1275:
URL: 
https://github.com/apache/datafusion-comet/issues/1275#issuecomment-2787665609

   Sample native plan with metrics:
   
   ```
   25/04/08 15:06:01 INFO core/src/execution/jni_api.rs: Comet native query 
plan with metrics (Plan #185 Stage 7 Partition 6):
    plan creation (including CometScans fetching first batches) took 3.022557ms:
   ProjectionExec: expr=[first@2 as col_0, first@3 as col_1, col_0@0 as col_2, 
first@4 as col_3, first@5 as col_4, first@6 as col_5, first@7 as col_6, first@8 
as col_7, first@9 as col_8, first@10 as col_9, col_1@1 as col_10, first@11 as 
col_11, first@12 as col_12, first@13 as col_13, first@14 as col_14, first@15 as 
col_15, first@16 as col_16, first@17 as col_17, first@18 as col_18, first@19 as 
col_19, first@20 as col_20, first@21 as col_21, first@22 as col_22], 
metrics=[output_rows=105687, elapsed_compute=67.075µs]
     AggregateExec: mode=Final, gby=[col_0@0 as col_0, col_1@1 as col_1], 
aggr=[first, first, first, first, first, first, first, first, first, first, 
first, first, first, first, first, first, first, first, first, first, first], 
metrics=[output_rows=105687, elapsed_compute=994.964965ms, spill_count=0, 
spilled_bytes=0, spilled_rows=0, peak_mem_used=485980792]
       AggregateExec: mode=Partial, gby=[col_2@2 as col_0, col_10@10 as col_1], 
aggr=[first, first, first, first, first, first, first, first, first, first, 
first, first, first, first, first, first, first, first, first, first, first], 
metrics=[output_rows=105687, elapsed_compute=9.759887803s, spill_count=0, 
spilled_bytes=0, spilled_rows=0, skipped_aggregation_rows=0, 
peak_mem_used=485980792]
         ScanExec: source=[ShuffleQueryStage (unknown), 
Statistics(sizeInBytes=64.1 GiB, rowCount=2.88E+8)], schema=[col_0: Int32, 
col_1: Int32, col_2: Int32, col_3: Int32, col_4: Int32, col_5: Int32, col_6: 
Int32, col_7: Int32, col_8: Int32, col_9: Int32, col_10: Int32, col_11: 
Decimal128(7, 2), col_12: Decimal128(7, 2), col_13: Decimal128(7, 2), col_14: 
Decimal128(7, 2), col_15: Decimal128(7, 2), col_16: Decimal128(7, 2), col_17: 
Decimal128(7, 2), col_18: Decimal128(7, 2), col_19: Decimal128(7, 2), col_20: 
Decimal128(7, 2), col_21: Decimal128(7, 2), col_22: Decimal128(7, 2)], 
metrics=[output_rows=1508245, elapsed_compute=262.520531ms, 
arrow_ffi_time=12.049335ms, cast_time=1ns, jvm_fetch_time=249.312038ms]
   ```


-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to