digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<b>SortAggregate</b><br><br>number of output rows: 1"];
2 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<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: 1<br>local bytes read: 144.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: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 112.0 B<br>local merged bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 144.0 B"];
3 [labelType="html" label="<b>SortAggregate</b><br><br>number of output rows: 1"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (10)\n \nduration: 15.2 s";
5 [labelType="html" label="<br><b>Project</b><br><br>"];
}
6 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster7 {
isCluster="true";
label="WholeStageCodegen (9)\n \nduration: 15.4 s";
8 [labelType="html" label="<b>Sort</b><br><br>sort time: 57 ms<br>peak memory: 48.0 MiB<br>spill size: 0.0 B"];
}
9 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 688.3 KiB<br>number of coalesced partitions: 1"];
10 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 602,754<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>17 ms (1 ms, 1 ms, 2 ms (stage 1059.0: task 1386))<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: 602,754<br>local bytes read: 653.5 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>16.2 MiB (1643.0 KiB, 1659.6 KiB, 1670.6 KiB (stage 1059.0: task 1391))<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>653.5 KiB (64.0 KiB, 65.5 KiB, 66.2 KiB (stage 1059.0: task 1388))"];
subgraph cluster11 {
isCluster="true";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n4.2 s (369 ms, 427 ms, 446 ms (stage 1059.0: task 1390))";
12 [labelType="html" label="<br><b>Project</b><br><br>"];
13 [labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 602,754<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1059.0: task 1387))"];
}
subgraph cluster14 {
isCluster="true";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n4.4 s (395 ms, 453 ms, 471 ms (stage 1059.0: task 1390))";
15 [labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>124 ms (11 ms, 12 ms, 20 ms (stage 1059.0: task 1387))<br>peak memory total (min, med, max (stageId: taskId))<br>180.0 MiB (18.0 MiB, 18.0 MiB, 18.0 MiB (stage 1059.0: task 1387))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1059.0: task 1387))"];
}
16 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 602,754<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>63 ms (5 ms, 6 ms, 7 ms (stage 1055.0: task 1379))<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: 602,754<br>local bytes read total (min, med, max (stageId: taskId))<br>15.3 MiB (1557.8 KiB, 1571.2 KiB, 1579.4 KiB (stage 1059.0: task 1391))<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1059.0: task 1387))<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 100<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>51.3 MiB (5.1 MiB, 5.1 MiB, 5.2 MiB (stage 1055.0: task 1384))<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>15.3 MiB (1557.0 KiB, 1571.4 KiB, 1578.9 KiB (stage 1055.0: task 1376))"];
subgraph cluster17 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n5.4 s (523 ms, 539 ms, 566 ms (stage 1055.0: task 1380))";
18 [labelType="html" label="<br><b>Project</b><br><br>"];
19 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 602,754"];
}
20 [labelType="html" label="<b>Window</b><br><br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1055.0: task 1376))"];
subgraph cluster21 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n7.4 s (725 ms, 740 ms, 769 ms (stage 1055.0: task 1380))";
22 [labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>207 ms (15 ms, 22 ms, 27 ms (stage 1055.0: task 1376))<br>peak memory total (min, med, max (stageId: taskId))<br>400.0 MiB (40.0 MiB, 40.0 MiB, 40.0 MiB (stage 1055.0: task 1376))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1055.0: task 1376))"];
}
23 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,996,009<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>100 ms (15 ms, 84 ms, 84 ms (stage 1048.0: task 1353))<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: 2,996,009<br>local bytes read total (min, med, max (stageId: taskId))<br>30.6 MiB (3.0 MiB, 3.1 MiB, 3.1 MiB (stage 1055.0: task 1384))<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1055.0: task 1376))<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>262.3 MiB (39.0 MiB, 223.2 MiB, 223.2 MiB (stage 1048.0: task 1353))<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>30.6 MiB (4.6 MiB, 26.0 MiB, 26.0 MiB (stage 1048.0: task 1353))"];
subgraph cluster24 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n6.1 s (20 ms, 25 ms, 4.9 s (stage 1048.0: task 1353))";
25 [labelType="html" label="<br><b>Project</b><br><br>"];
26 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 2,996,009<br>number of input batches: 732"];
}
27 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time total (min, med, max (stageId: taskId))<br>1.3 s (2 ms, 6 ms, 1.1 s (stage 1048.0: task 1353))<br>metadata time: 0 ms<br>size of files read: 150.9 MiB<br>number of output rows: 2,996,009"];
subgraph cluster28 {
isCluster="true";
label="WholeStageCodegen (7)\n \nduration: 0 ms";
29 [labelType="html" label="<br><b>Project</b><br><br>"];
30 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 88,203"];
}
31 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster32 {
isCluster="true";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
33 [labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 1059.0: task 1391))<br>peak memory total (min, med, max (stageId: taskId))<br>162.5 MiB (16.3 MiB, 16.3 MiB, 16.3 MiB (stage 1059.0: task 1387))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1059.0: task 1387))"];
}
34 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 93,005<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>6 ms (3 ms, 3 ms, 3 ms (stage 1049.0: task 1359))<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: 93,005<br>local bytes read total (min, med, max (stageId: taskId))<br>1057.6 KiB (103.1 KiB, 106.2 KiB, 107.8 KiB (stage 1059.0: task 1391))<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1059.0: task 1387))<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>6.3 MiB (2.6 MiB, 3.7 MiB, 3.7 MiB (stage 1049.0: task 1359))<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>1057.6 KiB (437.9 KiB, 619.8 KiB, 619.8 KiB (stage 1049.0: task 1359))"];
subgraph cluster35 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n234 ms (95 ms, 139 ms, 139 ms (stage 1049.0: task 1359))";
36 [labelType="html" label="<br><b>Project</b><br><br>"];
37 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 93,005"];
}
38 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 93,005<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 6.4 MiB"];
1->0;
2->1;
3->2;
5->3;
6->5;
8->6;
9->8;
10->9;
12->10;
13->12;
15->13;
16->15;
18->16;
19->18;
20->19;
22->20;
23->22;
25->23;
26->25;
27->26;
29->13;
30->29;
31->30;
33->31;
34->33;
36->34;
37->36;
38->37;
}
39
AdaptiveSparkPlan isFinalPlan=true
SortAggregate(key=[], functions=[count(1), count(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530), min(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530), max(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530)])
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=26975]
SortAggregate(key=[], functions=[partial_count(1), partial_count(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530), partial_min(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530), partial_max(COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530)])
Project [str_list_as_str(COL_87E64838_3BAB_4526_BF3E_008427D11600#99232) AS COL_5A5CA1D7_78FD_44C9_B61E_BE7E8296E46C#99530]
WholeStageCodegen (10)
Window [collect_set(COL_AF978AAB_D361_4C61_94AF_432EBFAA8810#99013, 0, 0) windowspecdefinition(COL_A7B79A69_6514_4DE6_BB59_8CD22992A386#99181, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_87E64838_3BAB_4526_BF3E_008427D11600#99232], [COL_A7B79A69_6514_4DE6_BB59_8CD22992A386#99181], [1 DESC NULLS LAST]
Sort [COL_A7B79A69_6514_4DE6_BB59_8CD22992A386#99181 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
WholeStageCodegen (9)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_A7B79A69_6514_4DE6_BB59_8CD22992A386#99181, 10), ENSURE_REQUIREMENTS, [plan_id=26796]
Project [str_if_with_rule((size(str_list_intersect_fixed(COL_7F6BA768_8054_4161_B9FA_C8767D1D66AD#98720, [SAS]), true) <=> 1), 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#98877, ) AS COL_A7B79A69_6514_4DE6_BB59_8CD22992A386#99181, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#98877 AS COL_AF978AAB_D361_4C61_94AF_432EBFAA8810#99013]
SortMergeJoin [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#98667], [00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98876], LeftOuter
WholeStageCodegen (8)
Sort [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#98667 ASC NULLS FIRST], false, 0
WholeStageCodegen (5)
Exchange hashpartitioning(COL_136DCAA3_2545_47C9_A61E_86ED7914066D#98667, 10), ENSURE_REQUIREMENTS, [plan_id=26690]
Project [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#98667, COL_7F6BA768_8054_4161_B9FA_C8767D1D66AD#98720]
Filter (COL_D50B88DC_7339_47AA_AF53_7DF1382234F8#98664 <=> A)
WholeStageCodegen (4)
Window [collect_set(COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#98687, 0, 0) windowspecdefinition(COL_86264515_64DE_4F5A_B65C_1F224369C11E#98665, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_7F6BA768_8054_4161_B9FA_C8767D1D66AD#98720], [COL_86264515_64DE_4F5A_B65C_1F224369C11E#98665], [1 DESC NULLS LAST]
Sort [COL_86264515_64DE_4F5A_B65C_1F224369C11E#98665 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
WholeStageCodegen (3)
Exchange hashpartitioning(COL_86264515_64DE_4F5A_B65C_1F224369C11E#98665, 10), ENSURE_REQUIREMENTS, [plan_id=26153]
Project [COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#98560 AS COL_D50B88DC_7339_47AA_AF53_7DF1382234F8#98664, COL_0767075F_6D90_4406_A1C5_BC087A39F7CE#98561 AS COL_86264515_64DE_4F5A_B65C_1F224369C11E#98665, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#98563 AS COL_136DCAA3_2545_47C9_A61E_86ED7914066D#98667, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#98560 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#98560 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#98557, 78, 5), null), ONLY_ONE) AS COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#98687]
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_B706A975_F287_4DC9_B631_A35735FE936F#98557,COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#98560,COL_0767075F_6D90_4406_A1C5_BC087A39F7CE#98561,COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#98563] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/00_A_LIGNES_RSF_345253], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<COL_B706A975_F287_4DC9_B631_A35735FE936F:string,COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38:s...
Project [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501 AS 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98876, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#98502 AS 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#98877]
Filter (COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#98517 <=> 1)
WholeStageCodegen (7)
Window [row_number() windowspecdefinition(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501, 1 DESC NULLS LAST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#98517], [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501], [1 DESC NULLS LAST]
Sort [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
WholeStageCodegen (6)
Exchange hashpartitioning(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501, 10), ENSURE_REQUIREMENTS, [plan_id=26172]
Project [Numéro Séjour#98380 AS COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#98501, UF#98381 AS COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#98502]
Filter (NOT CASE WHEN isnull(StartsWith(Numéro Séjour#98380, #)) THEN false ELSE StartsWith(Numéro Séjour#98380, #) END AND isnotnull(Numéro Séjour#98380))
WholeStageCodegen (2)
FileScan csv [Numéro Séjour#98380,UF#98381] Batched: false, DataFilters: [NOT CASE WHEN isnull(StartsWith(Numéro Séjour#98380, #)) THEN false ELSE StartsWith(Numéro Séjou..., Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/tmp/02_PASSAGE_PATI_344985/passage_pationt_..., PartitionFilters: [], PushedFilters: [IsNotNull(Numéro Séjour)], ReadSchema: struct<Numéro Séjour:string,UF:string>