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: 1<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: 192.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 5766.0: task 5305))<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: 3<br>local bytes read: 186.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: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>72.0 B (24.0 B, 24.0 B, 24.0 B (stage 5766.0: task 5305))<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>186.0 B (60.0 B, 63.0 B, 63.0 B (stage 5766.0: task 5305))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n126 ms (30 ms, 32 ms, 33 ms (stage 5766.0: task 5304))";
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>35 ms (7 ms, 9 ms, 10 ms (stage 5766.0: task 5307))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5766.0: task 5306))<br>number of output rows: 3<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: 73"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 5,714<br>number of input batches: 3"];
}
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>34 ms (7 ms, 9 ms, 10 ms (stage 5766.0: task 5307))<br>metadata time: 0 ms<br>size of files read: 1973.9 KiB<br>number of output rows: 5,714"];
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_51AC7045_1A4F_4393_A9CF_4EA32B7297DE#840577 ASC NULLS FIRST], output=[COL_51AC7045_1A4F_4393_A9CF_4EA32B7297DE#840577,COL_4DD65E4C_FCC0_45A9_9ABC_BAEF9DC6C094#840776,COL_777FFAF4_78FD_47D8_8200_F3AC5FA7F8B6#840777])
HashAggregate(keys=[COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303], functions=[sum(COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303, 10), ENSURE_REQUIREMENTS, [plan_id=112319]
HashAggregate(keys=[COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303], functions=[partial_sum(COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303)])
Project [COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8#838319 AS COL_1EAC769D_F4A9_48BD_B7AA_6F2EDA0B223C#840303]
Filter ((COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8#838319 <=> 1) AND (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#838203 <=> 1))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#838203,COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8#838319] Batched: true, DataFilters: [(COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8#838319 <=> 1), (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D2..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/RHA_2021_LIGNE__58585], PartitionFilters: [], PushedFilters: [EqualNullSafe(COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8,1), EqualNullSafe(COL_7715B173_7D1A_4D2D_..., ReadSchema: struct<COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233:string,COL_08F00F8E_17CB_45FD_B016_AE6C7F1336E8:int>