@@ -236,14 +236,13 @@ EXPLAIN ANALYZE SELECT SUM(x) FROM table GROUP BY b;
236236+ -- -----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
237237| plan_type | plan |
238238+ -- -----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
239- | Plan with Metrics | CoalescePartitionsExec, metrics= [] |
240- | | ProjectionExec: expr= [SUM (table .x )@1 as SUM (x)], metrics= [] |
241- | | HashAggregateExec: mode= FinalPartitioned, gby= [b@0 as b], aggr= [SUM (x)], metrics= [outputRows= 2 ] |
242- | | CoalesceBatchesExec: target_batch_size= 4096 , metrics= [] |
243- | | RepartitionExec: partitioning= Hash([Column { name: " b" , index: 0 }], 16 ), metrics= [sendTime= 839560 , fetchTime= 122528525 , repartitionTime= 5327877 ] |
244- | | HashAggregateExec: mode= Partial, gby= [b@1 as b], aggr= [SUM (x)], metrics= [outputRows= 2 ] |
245- | | RepartitionExec: partitioning= RoundRobinBatch(16 ), metrics= [fetchTime= 5660489 , repartitionTime= 0 , sendTime= 8012 ] |
246- | | DataSourceExec: file_groups= {1 group: [[/ tmp/ table .csv ]]}, has_header= false, metrics= [] |
239+ | Plan with Metrics | ProjectionExec: expr= [sum (table .x )@1 as sum (table .x )], metrics= [output_rows= 2 , elapsed_compute= 7 .30 µs, output_bytes= 64 .0 B, output_batches= 2 , expr_0_eval_time= 764ns] |
240+ | | AggregateExec: mode= FinalPartitioned, gby= [b@0 as b], aggr= [sum (table .x )], metrics= [output_rows= 2 , elapsed_compute= 699 .21 µs, output_bytes= 1088 .0 B, output_batches= 2 , spill_count= 0 , spilled_bytes= 0 .0 B, spilled_rows= 0 , peak_mem_used= 17 .60 K, aggregate_arguments_time= 6 .55 µs, aggregation_time= 6 .97 µs, emitting_time= 8 .47 µs, time_calculating_group_ids= 5 .89 µs] |
241+ | | RepartitionExec: partitioning= Hash([b@0 ], 16 ), input_partitions= 16 , metrics= [output_rows= 2 , elapsed_compute= 135 .12 µs, output_bytes= 192 .0 KB, output_batches= 2 , spill_count= 0 , spilled_bytes= 0 .0 B, spilled_rows= 0 , batch_build_time= 29 .35 µs, channel_wait_time= 4 .34 µs, fetch_time= 14 .53ms, repartition_time= 49 .60 µs, route_time= 1 .97 µs, spill_read_wait_time= 16ns, spill_write_time= 256ns] |
242+ | | AggregateExec: mode= Partial, gby= [b@1 as b], aggr= [sum (table .x )], metrics= [output_rows= 2 , elapsed_compute= 242 .71 µs, output_bytes= 544 .0 B, output_batches= 1 , spill_count= 0 , spilled_bytes= 0 .0 B, spilled_rows= 0 , skipped_aggregation_rows= 0 , peak_mem_used= 5 .28 K, aggregate_arguments_time= 31 .31 µs, aggregation_time= 19 .39 µs, emitting_time= 9 .64 µs, time_calculating_group_ids= 10 .77 µs, reduction_factor= 20 % (2 / 10 )] |
243+ | | RepartitionExec: partitioning= RoundRobinBatch(16 ), input_partitions= 1 , metrics= [output_rows= 10 , elapsed_compute= 50 .25 µs, output_bytes= 64 .0 KB, output_batches= 1 , spill_count= 0 , spilled_bytes= 0 .0 B, spilled_rows= 0 , batch_build_time= 1ns, channel_wait_time= 3 .43 µs, fetch_time= 792 .21 µs, repartition_time= 292ns, route_time= 1ns, spill_read_wait_time= 16ns, spill_write_time= 16ns] |
244+ | | DataSourceExec: file_groups= {1 group: [[tmp/ datafusion- explain/ table .csv ]]}, projection= [x, b], file_type= csv, has_header= true, metrics= [output_rows= 10 , elapsed_compute= 582 .33 µs, output_bytes= 128 .0 B, output_batches= 1 , batches_split= 0 , file_open_errors= 0 , file_scan_errors= 0 , files_opened= 1 , files_processed= 1 , time_elapsed_opening= 140 .33 µs, time_elapsed_processing= 721 .33 µs, time_elapsed_scanning_total= 613 .13 µs, time_elapsed_scanning_until_data= 588 .17 µs] |
245+ | | |
247246+ -- -----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
248247```
249248
0 commit comments