digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 479 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 7 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>19 ms (0 ms, 0 ms, 16 ms (stage 1.0: task 1))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 4<br>local bytes read: 230.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>64.0 B (16.0 B, 16.0 B, 16.0 B (stage 1.0: task 1))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>230.0 B (57.0 B, 57.0 B, 59.0 B (stage 1.0: task 4))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n576 ms (23 ms, 81 ms, 446 ms (stage 1.0: task 1))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>535 ms (22 ms, 80 ms, 408 ms (stage 1.0: task 1))<br>number of output rows: 4"];
6 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 20,405,666<br>number of input batches: 4,982"];
}
7 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time total (min, med, max (stageId: taskId))<br>399 ms (19 ms, 44 ms, 317 ms (stage 1.0: task 1))<br>metadata time: 6 ms<br>size of files read: 468.3 MiB<br>number of output rows: 20,405,666"];
2->0;
3->2;
5->3;
6->5;
7->6;
}
8
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (2)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=23]
HashAggregate(keys=[], functions=[partial_count(1)])
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/home/jovyan/Inbound/fhvhv_tripdata_2025-01.parquet], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<>