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: 6 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: 2<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: 600.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 5832.0: task 5396))<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: 8<br>local bytes read: 582.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>256.0 B (64.0 B, 64.0 B, 64.0 B (stage 5832.0: task 5395))<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>582.0 B (144.0 B, 146.0 B, 148.0 B (stage 5832.0: task 5396))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n82 ms (17 ms, 20 ms, 28 ms (stage 5832.0: task 5394))";
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>41 ms (7 ms, 10 ms, 17 ms (stage 5832.0: task 5394))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5832.0: task 5395))<br>number of output rows: 8<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, 5 ms, 15 ms (stage 5832.0: task 5394))<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_2F9862D6_E28D_441C_9F2F_DCADF86BE732#858560 ASC NULLS FIRST], output=[COL_2F9862D6_E28D_441C_9F2F_DCADF86BE732#858560,COL_5ACC8A84_B2AF_4D40_841F_89DE73E018DC#859024L])
HashAggregate(keys=[COL_37366C13_B429_4C37_9F63_04EC5A412581#856679], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_37366C13_B429_4C37_9F63_04EC5A412581#856679, 10), ENSURE_REQUIREMENTS, [plan_id=114695]
HashAggregate(keys=[COL_37366C13_B429_4C37_9F63_04EC5A412581#856679], functions=[partial_count(1)])
Project [COL_87AABE22_E5C5_4A2C_8B19_ECF9052B499E#853360 AS COL_37366C13_B429_4C37_9F63_04EC5A412581#856679]
Filter (COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#853364 <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_87AABE22_E5C5_4A2C_8B19_ECF9052B499E#853360,COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#853364] Batched: true, DataFilters: [(COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB#853364 <=> 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_87AABE22_E5C5_4A2C_8B19_ECF9052B499E:string,COL_CCB5E7AD_BAFE_4446_A939_2E32C86714FB:s...