digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 18.0: task 18))<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: 2<br>local bytes read: 116.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: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>32.0 B (0.0 B, 16.0 B, 16.0 B (stage 18.0: task 19))<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>116.0 B (0.0 B, 57.0 B, 59.0 B (stage 18.0: task 18))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n35 ms (12 ms, 23 ms, 23 ms (stage 18.0: task 18))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>33 ms (12 ms, 21 ms, 21 ms (stage 18.0: task 18))<br>number of output rows: 2"];
6 [labelType="html" label="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 1"];
8 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 26,236<br>number of input batches: 8"];
}
9 [labelType="html" label="<b>Scan parquet spark_catalog.default.airports</b><br><br>number of files read: 2<br>scan time total (min, med, max (stageId: taskId))<br>28 ms (10 ms, 18 ms, 18 ms (stage 18.0: task 18))<br>metadata time: 0 ms<br>size of files read: 2.1 MiB<br>number of output rows: 26,236"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
9->8;
}
10
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[sum(elev#185)])
WholeStageCodegen (2)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=361]
HashAggregate(keys=[], functions=[partial_sum(elev#185)])
Project [elev#185]
Filter (isnotnull(code#191) AND (code#191 = 0GA2))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet spark_catalog.default.airports[elev#185,code#191] Batched: true, DataFilters: [isnotnull(code#191), (code#191 = 0GA2)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/home/acdcadmin/spark-warehouse/airports], PartitionFilters: [], PushedFilters: [IsNotNull(code), EqualTo(code,0GA2)], ReadSchema: struct<elev:double,code:string>