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: 4 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: 3<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: 888.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 12<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 5855.0: task 5420))<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: 12<br>local bytes read: 866.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>384.0 B (96.0 B, 96.0 B, 96.0 B (stage 5855.0: task 5421))<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>866.0 B (215.0 B, 217.0 B, 219.0 B (stage 5855.0: task 5423))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n52 ms (9 ms, 15 ms, 18 ms (stage 5855.0: task 5423))";
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>33 ms (6 ms, 9 ms, 11 ms (stage 5855.0: task 5423))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5855.0: task 5421))<br>number of output rows: 12<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>30 ms (5 ms, 8 ms, 11 ms (stage 5855.0: task 5423))<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_D0B2DA73_8AA7_4E21_8ACC_602076E581A2#864754 ASC NULLS FIRST], output=[COL_D0B2DA73_8AA7_4E21_8ACC_602076E581A2#864754,COL_5003B452_0630_4AA6_A96B_2042C3A111E0#865436])
HashAggregate(keys=[COL_F6329FF7_3BF5_4835_9714_32446E041085#863205], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_F6329FF7_3BF5_4835_9714_32446E041085#863205, 10), ENSURE_REQUIREMENTS, [plan_id=115139]
HashAggregate(keys=[COL_F6329FF7_3BF5_4835_9714_32446E041085#863205], functions=[partial_count(1)])
Project [COL_A1915EBD_C708_4B4B_B606_4E8F0B4CB2DB#860825 AS COL_F6329FF7_3BF5_4835_9714_32446E041085#863205]
Filter (COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#860740 <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#860740,COL_A1915EBD_C708_4B4B_B606_4E8F0B4CB2DB#860825] Batched: true, DataFilters: [(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#860740 <=> 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_A1915EBD_C708_4B4B_B606_4E8F0B4CB2DB:s...