digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>TakeOrderedAndProject</b><br><br>"];
subgraph cluster2 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 10 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 ms<br>peak memory: 16.3 MiB<br>number of output rows: 12<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 1848.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 41<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>6 ms (1 ms, 1 ms, 3 ms (stage 5828.0: task 5386))<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: 41<br>local bytes read: 1804.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>1312.0 B (256.0 B, 352.0 B, 384.0 B (stage 5828.0: task 5386))<br>local merged bytes read: 0.0 B<br>number of partitions: 10<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>1804.0 B (347.0 B, 507.0 B, 517.0 B (stage 5828.0: task 5386))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n44 ms (9 ms, 12 ms, 13 ms (stage 5828.0: task 5384))";
7 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>24 ms (5 ms, 6 ms, 7 ms (stage 5828.0: task 5386))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5828.0: task 5387))<br>number of output rows: 41<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 5,316"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 7,020<br>number of input batches: 4"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>20 ms (4 ms, 5 ms, 6 ms (stage 5828.0: task 5386))<br>metadata time: 0 ms<br>size of files read: 1959.2 KiB<br>number of output rows: 7,020"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
11->10;
}
12
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=500000, orderBy=[COL_563AAABD_B56B_4D8F_B04E_F14947D12EC4#859147 ASC NULLS FIRST], output=[COL_5003B452_0630_4AA6_A96B_2042C3A111E0#859378,COL_563AAABD_B56B_4D8F_B04E_F14947D12EC4#859147])
HashAggregate(keys=[COL_7EC258E3_4C57_47EF_9DCB_D993D019CEE0#857487], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_7EC258E3_4C57_47EF_9DCB_D993D019CEE0#857487, 10), ENSURE_REQUIREMENTS, [plan_id=114769]
HashAggregate(keys=[COL_7EC258E3_4C57_47EF_9DCB_D993D019CEE0#857487], functions=[partial_count(1)])
Project [COL_137DF8D4_F8FC_48F4_AEBA_90F4B121D7C3#854223 AS COL_7EC258E3_4C57_47EF_9DCB_D993D019CEE0#857487]
Filter (COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#854157 <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#854157,COL_137DF8D4_F8FC_48F4_AEBA_90F4B121D7C3#854223] Batched: true, DataFilters: [(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#854157 <=> 1)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/RHA_2021_56618], PartitionFilters: [], PushedFilters: [EqualNullSafe(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB,1)], ReadSchema: struct<COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB:string,COL_137DF8D4_F8FC_48F4_AEBA_90F4B121D7C3:s...