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: 288.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 5774.0: task 5319))<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: 284.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>128.0 B (32.0 B, 32.0 B, 32.0 B (stage 5774.0: task 5318))<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>284.0 B (71.0 B, 71.0 B, 71.0 B (stage 5774.0: task 5318))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n80 ms (15 ms, 21 ms, 27 ms (stage 5774.0: task 5317))";
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>46 ms (8 ms, 14 ms, 15 ms (stage 5774.0: task 5317))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5774.0: task 5318))<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: 242"];
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>45 ms (8 ms, 14 ms, 14 ms (stage 5774.0: task 5316))<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_737F341D_FDBA_43E1_AA5F_5AE1EBE70A9E#843710 ASC NULLS FIRST], output=[COL_A227402D_F7A2_409C_AF35_92CB817E52EA#843903,COL_737F341D_FDBA_43E1_AA5F_5AE1EBE70A9E#843710,COL_777FFAF4_78FD_47D8_8200_F3AC5FA7F8B6#843905])
HashAggregate(keys=[COL_2BA8E6F3_8AD6_44E6_B1FE_41B1083D4178#842873], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_2BA8E6F3_8AD6_44E6_B1FE_41B1083D4178#842873, 10), ENSURE_REQUIREMENTS, [plan_id=112415]
HashAggregate(keys=[COL_2BA8E6F3_8AD6_44E6_B1FE_41B1083D4178#842873], functions=[partial_count(1)])
Project [COL_55ED478F_24EB_47D6_9946_C94283F2B659#841407 AS COL_2BA8E6F3_8AD6_44E6_B1FE_41B1083D4178#842873]
Filter ((COL_55ED478F_24EB_47D6_9946_C94283F2B659#841407 <=> 90) AND (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#841340 <=> 1))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#841340,COL_55ED478F_24EB_47D6_9946_C94283F2B659#841407] Batched: true, DataFilters: [(COL_55ED478F_24EB_47D6_9946_C94283F2B659#841407 <=> 90), (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/RHA_2021_LIGNE__58585], PartitionFilters: [], PushedFilters: [EqualNullSafe(COL_55ED478F_24EB_47D6_9946_C94283F2B659,90), EqualNullSafe(COL_7715B173_7D1A_4D2D..., ReadSchema: struct<COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233:string,COL_55ED478F_24EB_47D6_9946_C94283F2B659:s...