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: 12 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 1 ms<br>peak memory: 16.3 MiB<br>number of output rows: 5<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: 1234.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>13 ms (1 ms, 4 ms, 4 ms (stage 5825.0: task 5372))<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: 20<br>local bytes read: 1178.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>608.0 B (152.0 B, 152.0 B, 152.0 B (stage 5825.0: task 5373))<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>1178.0 B (293.0 B, 295.0 B, 296.0 B (stage 5825.0: task 5372))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n104 ms (19 ms, 33 ms, 33 ms (stage 5825.0: task 5374))";
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>57 ms (6 ms, 21 ms, 22 ms (stage 5825.0: task 5374))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5825.0: task 5373))<br>number of output rows: 20<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>51 ms (5 ms, 20 ms, 20 ms (stage 5825.0: task 5374))<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_5891C03A_B6B0_491E_945B_D3DD6BC763C9#852568 ASC NULLS FIRST], output=[COL_5003B452_0630_4AA6_A96B_2042C3A111E0#854276,COL_5891C03A_B6B0_491E_945B_D3DD6BC763C9#852568])
HashAggregate(keys=[COL_161B01D5_EA07_4120_9633_5CE5F8BA2DA4#851667], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_161B01D5_EA07_4120_9633_5CE5F8BA2DA4#851667, 10), ENSURE_REQUIREMENTS, [plan_id=114488]
HashAggregate(keys=[COL_161B01D5_EA07_4120_9633_5CE5F8BA2DA4#851667], functions=[partial_count(1)])
Project [COL_F3837A98_6381_4E4C_8B66_34E4140E04DE#850646 AS COL_161B01D5_EA07_4120_9633_5CE5F8BA2DA4#851667]
Filter (COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#850563 <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#850563,COL_F3837A98_6381_4E4C_8B66_34E4140E04DE#850646] Batched: true, DataFilters: [(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#850563 <=> 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_F3837A98_6381_4E4C_8B66_34E4140E04DE:s...