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: 20 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 6 ms<br>peak memory: 16.3 MiB<br>number of output rows: 962<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: 43.4 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 3,961<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>49 ms (1 ms, 4 ms, 29 ms (stage 1280.0: task 1801))<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,961<br>local bytes read: 41.4 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>92.8 KiB (14.3 KiB, 16.0 KiB, 16.3 KiB (stage 1280.0: task 1801))<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>41.4 KiB (6.4 KiB, 7.2 KiB, 7.3 KiB (stage 1280.0: task 1830))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n617 ms (45 ms, 102 ms, 181 ms (stage 1280.0: task 1801))";
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>292 ms (22 ms, 35 ms, 129 ms (stage 1280.0: task 1801))<br>peak memory total (min, med, max (stageId: taskId))<br>1536.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1280.0: task 1807))<br>number of output rows: 3,961<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: 53,132"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 81,008<br>number of input batches: 25"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 12<br>scan time total (min, med, max (stageId: taskId))<br>190 ms (15 ms, 20 ms, 95 ms (stage 1280.0: task 1801))<br>metadata time: 0 ms<br>size of files read: 5.2 MiB<br>number of output rows: 81,008"];
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_C6F5D373_5A6C_46FB_B9BF_93F87DEE81AF#230469L DESC NULLS LAST], output=[COL_C6F5D373_5A6C_46FB_B9BF_93F87DEE81AF#230469L,COL_FECF9A94_328D_4D31_BB86_5CCC6CE7D428#230526L])
HashAggregate(keys=[COL_2B4FEA23_D9BE_48DC_B4D6_A92D1D50A8C7#230306L], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_2B4FEA23_D9BE_48DC_B4D6_A92D1D50A8C7#230306L, 10), ENSURE_REQUIREMENTS, [plan_id=21462]
HashAggregate(keys=[COL_2B4FEA23_D9BE_48DC_B4D6_A92D1D50A8C7#230306L], functions=[partial_count(1)])
Project [COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L AS COL_2B4FEA23_D9BE_48DC_B4D6_A92D1D50A8C7#230306L]
Filter (isnotnull(COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L) AND CASE WHEN isnull(((COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L >= 0) AND (COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L <= 1200))) THEN false ELSE ((COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L >= 0) AND (COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L <= 1200)) END)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L] Batched: true, DataFilters: [isnotnull(COL_D0645247_7443_420E_9CB1_B174B35E5D7C#229753L), CASE WHEN isnull(((COL_D0645247_744..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/PU_FICHIER_FICT_253787], PartitionFilters: [], PushedFilters: [IsNotNull(COL_D0645247_7443_420E_9CB1_B174B35E5D7C)], ReadSchema: struct<COL_D0645247_7443_420E_9CB1_B174B35E5D7C:bigint>