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: 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: 264.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4<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 5773.0: task 5313))<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: 4<br>local bytes read: 252.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>96.0 B (24.0 B, 24.0 B, 24.0 B (stage 5773.0: task 5312))<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>252.0 B (63.0 B, 63.0 B, 63.0 B (stage 5773.0: task 5312))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n55 ms (11 ms, 15 ms, 18 ms (stage 5773.0: task 5313))";
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>36 ms (7 ms, 10 ms, 12 ms (stage 5773.0: task 5313))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5773.0: task 5312))<br>number of output rows: 4<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: 58"];
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>34 ms (7 ms, 9 ms, 11 ms (stage 5773.0: task 5313))<br>metadata time: 0 ms<br>size of files read: 1973.9 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_6853A87A_98E5_4738_B28A_367B98049A3C#843577 ASC NULLS FIRST], output=[COL_777FFAF4_78FD_47D8_8200_F3AC5FA7F8B6#843909,COL_6853A87A_98E5_4738_B28A_367B98049A3C#843577,COL_46D7B57C_8D35_4949_994D_D817F2E52EC6#843911])
HashAggregate(keys=[COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184], functions=[sum(COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184, 10), ENSURE_REQUIREMENTS, [plan_id=112471]
HashAggregate(keys=[COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184], functions=[partial_sum(COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184)])
Project [COL_FEE2D7B9_542D_4C62_BE51_43F247BF7A36#841190 AS COL_B9981313_B297_4C24_BA3E_7FEE8B587CBA#843184]
Filter ((COL_FEE2D7B9_542D_4C62_BE51_43F247BF7A36#841190 <=> 1) AND (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#841072 <=> 1))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#841072,COL_FEE2D7B9_542D_4C62_BE51_43F247BF7A36#841190] Batched: true, DataFilters: [(COL_FEE2D7B9_542D_4C62_BE51_43F247BF7A36#841190 <=> 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_FEE2D7B9_542D_4C62_BE51_43F247BF7A36,1), EqualNullSafe(COL_7715B173_7D1A_4D2D_..., ReadSchema: struct<COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233:string,COL_FEE2D7B9_542D_4C62_BE51_43F247BF7A36:int>