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: 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 5765.0: task 5300))<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 5765.0: task 5303))<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 5765.0: task 5303))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n959 ms (238 ms, 239 ms, 244 ms (stage 5765.0: task 5302))";
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>48 ms (10 ms, 11 ms, 16 ms (stage 5765.0: task 5302))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 5765.0: task 5303))<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: 811"];
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 (9 ms, 11 ms, 15 ms (stage 5765.0: task 5302))<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_6D6A46DE_B9B4_42DC_B60E_D1C05F5850F2#840304 ASC NULLS FIRST], output=[COL_6D6A46DE_B9B4_42DC_B60E_D1C05F5850F2#840304,COL_A227402D_F7A2_409C_AF35_92CB817E52EA#840742,COL_777FFAF4_78FD_47D8_8200_F3AC5FA7F8B6#840743])
HashAggregate(keys=[COL_AB13DDA5_FB48_410E_9F29_4CC478538220#839581], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_AB13DDA5_FB48_410E_9F29_4CC478538220#839581, 10), ENSURE_REQUIREMENTS, [plan_id=112263]
HashAggregate(keys=[COL_AB13DDA5_FB48_410E_9F29_4CC478538220#839581], functions=[partial_count(1)])
Project [COL_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172#838049 AS COL_AB13DDA5_FB48_410E_9F29_4CC478538220#839581]
Filter ((COL_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172#838049 <=> 1) AND (COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#837935 <=> 1))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233#837935,COL_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172#838049] Batched: true, DataFilters: [(COL_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172#838049 <=> 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_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172,1), EqualNullSafe(COL_7715B173_7D1A_4D2D_..., ReadSchema: struct<COL_7715B173_7D1A_4D2D_9F64_9FD609F5D233:string,COL_DE8E07D6_EFE4_492D_8D5B_A0D49B1D5172:int>