digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 0 ms<br>number of output rows: 1"];
}
3 [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: 59.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: 16.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: 59.0 B"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (7)\n \nduration: 9 ms";
5 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 8 ms<br>peak memory: 0.0 B<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
6 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 1 ms<br>peak memory: 16.3 MiB<br>number of output rows: 197<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
}
7 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 4.5 KiB<br>number of coalesced partitions: 1"];
8 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 197<br>local merged chunks fetched: 0<br>shuffle write time: 1 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: 197<br>local bytes read: 4.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: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 14.0 KiB<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: 4.4 KiB"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (6)\n \nduration: 228 ms";
10 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 192 ms<br>peak memory: 16.3 MiB<br>number of output rows: 197<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
11 [labelType="html" label="<b>Expand</b><br><br>number of output rows: 164,716"];
12 [labelType="html" label="<br><b>Project</b><br><br>"];
13 [labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 41,179<br>spill size: 0.0 B"];
}
subgraph cluster14 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 307 ms";
15 [labelType="html" label="<b>Sort</b><br><br>sort time: 8 ms<br>peak memory: 17.0 MiB<br>spill size: 0.0 B"];
}
16 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 500.6 KiB<br>number of coalesced partitions: 1"];
17 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 41,179<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (1 ms, 3 ms, 3 ms (stage 1330.0: task 1815))<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: 41,179<br>local bytes read: 476.6 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>2.5 MiB (391.6 KiB, 2.1 MiB, 2.1 MiB (stage 1330.0: task 1815))<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>476.6 KiB (73.8 KiB, 402.8 KiB, 402.8 KiB (stage 1330.0: task 1815))"];
subgraph cluster18 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n8.9 s (3 ms, 6 ms, 7.1 s (stage 1330.0: task 1815))";
19 [labelType="html" label="<br><b>Project</b><br><br>"];
20 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 41,179"];
21 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 2,996,009<br>number of input batches: 732"];
}
22 [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.1 s (2 ms, 5 ms, 917 ms (stage 1330.0: task 1815))<br>metadata time: 0 ms<br>size of files read: 150.9 MiB<br>number of output rows: 2,996,009"];
subgraph cluster23 {
isCluster="true";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
24 [labelType="html" label="<br><b>Project</b><br><br>"];
25 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 83,244"];
}
26 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster27 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
28 [labelType="html" label="<b>Sort</b><br><br>sort time: 12 ms<br>peak memory: 20.0 MiB<br>spill size: 0.0 B"];
}
29 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 1113.9 KiB<br>number of coalesced partitions: 1"];
30 [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 (2 ms, 3 ms, 3 ms (stage 1331.0: task 1821))<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: 1057.6 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 2<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 1331.0: task 1821))<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 1331.0: task 1821))"];
subgraph cluster31 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n227 ms (93 ms, 134 ms, 134 ms (stage 1331.0: task 1821))";
32 [labelType="html" label="<br><b>Project</b><br><br>"];
33 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 93,005"];
}
34 [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"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
10->8;
11->10;
12->11;
13->12;
15->13;
16->15;
17->16;
19->17;
20->19;
21->20;
22->21;
24->13;
25->24;
26->25;
28->26;
29->28;
30->29;
32->30;
33->32;
34->33;
}
35
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (8)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=33935]
HashAggregate(keys=[], functions=[partial_count(1)])
HashAggregate(keys=[COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L], functions=[])
WholeStageCodegen (7)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L, 10), ENSURE_REQUIREMENTS, [plan_id=33877]
HashAggregate(keys=[COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L], functions=[])
Expand [[COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172, 0], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, null, 1], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, null, null, 3], [null, null, null, 7]], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Project [COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661 AS COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676 AS COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935 AS COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172]
SortMergeJoin [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641], [00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934], LeftOuter
WholeStageCodegen (6)
Sort [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641 ASC NULLS FIRST], false, 0
WholeStageCodegen (3)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, 10), ENSURE_REQUIREMENTS, [plan_id=33447]
Project [COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537 AS COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) AS COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 68, 2), null), ONLY_ONE) AS COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Filter (str_if_with_rule((((str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SAS) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUF)) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUN)), 1, 0) <=> 1)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531,COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534,COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537] Batched: true, DataFilters: [(str_if_with_rule((((str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F3..., 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#117475 AS 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476 AS 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935]
Filter (COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491 <=> 1)
WholeStageCodegen (5)
Window [row_number() windowspecdefinition(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 1 DESC NULLS LAST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491], [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475], [1 DESC NULLS LAST]
Sort [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
WholeStageCodegen (4)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 10), ENSURE_REQUIREMENTS, [plan_id=33463]
Project [Numéro Séjour#117354 AS COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, UF#117355 AS COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Filter (NOT CASE WHEN isnull(StartsWith(Numéro Séjour#117354, #)) THEN false ELSE StartsWith(Numéro Séjour#117354, #) END AND isnotnull(Numéro Séjour#117354))
WholeStageCodegen (2)
FileScan csv [Numéro Séjour#117354,UF#117355] Batched: false, DataFilters: [NOT CASE WHEN isnull(StartsWith(Numéro Séjour#117354, #)) THEN false ELSE StartsWith(Numéro Séjo..., 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>
== Physical Plan ==
AdaptiveSparkPlan (51)
+- == Final Plan ==
* HashAggregate (30)
+- ShuffleQueryStage (29), Statistics(sizeInBytes=16.0 B, rowCount=1)
+- Exchange (28)
+- * HashAggregate (27)
+- * HashAggregate (26)
+- AQEShuffleRead (25)
+- ShuffleQueryStage (24), Statistics(sizeInBytes=14.0 KiB, rowCount=197)
+- Exchange (23)
+- * HashAggregate (22)
+- * Expand (21)
+- * Project (20)
+- * SortMergeJoin LeftOuter (19)
:- * Sort (8)
: +- AQEShuffleRead (7)
: +- ShuffleQueryStage (6), Statistics(sizeInBytes=2.5 MiB, rowCount=4.12E+4)
: +- Exchange (5)
: +- * Project (4)
: +- * Filter (3)
: +- * ColumnarToRow (2)
: +- Scan parquet (1)
+- * Project (18)
+- * Filter (17)
+- Window (16)
+- * Sort (15)
+- AQEShuffleRead (14)
+- ShuffleQueryStage (13), Statistics(sizeInBytes=6.3 MiB, rowCount=9.30E+4)
+- Exchange (12)
+- * Project (11)
+- * Filter (10)
+- Scan csv (9)
+- == Initial Plan ==
HashAggregate (50)
+- Exchange (49)
+- HashAggregate (48)
+- HashAggregate (47)
+- Exchange (46)
+- HashAggregate (45)
+- Expand (44)
+- Project (43)
+- SortMergeJoin LeftOuter (42)
:- Sort (34)
: +- Exchange (33)
: +- Project (32)
: +- Filter (31)
: +- Scan parquet (1)
+- Project (41)
+- Filter (40)
+- Window (39)
+- Sort (38)
+- Exchange (37)
+- Project (36)
+- Filter (35)
+- Scan csv (9)
(1) Scan parquet
Output [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/00_A_LIGNES_RSF_345253]
ReadSchema: struct<COL_B706A975_F287_4DC9_B631_A35735FE936F:string,COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38:string,COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D:string>
(2) ColumnarToRow [codegen id : 1]
Input [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
(3) Filter [codegen id : 1]
Input [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
Condition : (str_if_with_rule((((str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SAS) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUF)) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUN)), 1, 0) <=> 1)
(4) Project [codegen id : 1]
Output [3]: [COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537 AS COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) AS COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 68, 2), null), ONLY_ONE) AS COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Input [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
(5) Exchange
Input [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: hashpartitioning(COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, 10), ENSURE_REQUIREMENTS, [plan_id=33447]
(6) ShuffleQueryStage
Output [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: 0
(7) AQEShuffleRead
Input [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: coalesced
(8) Sort [codegen id : 3]
Input [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641 ASC NULLS FIRST], false, 0
(9) Scan csv
Output [2]: [Numéro Séjour#117354, UF#117355]
Batched: false
Location: InMemoryFileIndex [file:/data/input/depot/csv/tmp/02_PASSAGE_PATI_344985/passage_pationt_09122025.csv]
PushedFilters: [IsNotNull(Numéro Séjour)]
ReadSchema: struct<Numéro Séjour:string,UF:string>
(10) Filter [codegen id : 2]
Input [2]: [Numéro Séjour#117354, UF#117355]
Condition : (NOT CASE WHEN isnull(StartsWith(Numéro Séjour#117354, #)) THEN false ELSE StartsWith(Numéro Séjour#117354, #) END AND isnotnull(Numéro Séjour#117354))
(11) Project [codegen id : 2]
Output [2]: [Numéro Séjour#117354 AS COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, UF#117355 AS COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Input [2]: [Numéro Séjour#117354, UF#117355]
(12) Exchange
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: hashpartitioning(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 10), ENSURE_REQUIREMENTS, [plan_id=33463]
(13) ShuffleQueryStage
Output [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: 1
(14) AQEShuffleRead
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: coalesced
(15) Sort [codegen id : 4]
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(16) Window
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: [row_number() windowspecdefinition(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 1 DESC NULLS LAST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491], [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475], [1 DESC NULLS LAST]
(17) Filter [codegen id : 5]
Input [3]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476, COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491]
Condition : (COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491 <=> 1)
(18) Project [codegen id : 5]
Output [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475 AS 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476 AS 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935]
Input [3]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476, COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491]
(19) SortMergeJoin [codegen id : 6]
Left keys [1]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641]
Right keys [1]: [00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934]
Join type: LeftOuter
Join condition: None
(20) Project [codegen id : 6]
Output [3]: [COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661 AS COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676 AS COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935 AS COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172]
Input [5]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676, 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935]
(21) Expand [codegen id : 6]
Input [3]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172]
Arguments: [[COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172, 0], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, null, 1], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, null, null, 3], [null, null, null, 7]], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
(22) HashAggregate [codegen id : 6]
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Keys [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Functions: []
Aggregate Attributes: []
Results [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
(23) Exchange
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Arguments: hashpartitioning(COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L, 10), ENSURE_REQUIREMENTS, [plan_id=33877]
(24) ShuffleQueryStage
Output [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Arguments: 2
(25) AQEShuffleRead
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Arguments: coalesced
(26) HashAggregate [codegen id : 7]
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Keys [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Functions: []
Aggregate Attributes: []
Results: []
(27) HashAggregate [codegen id : 7]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#118201L]
Results [1]: [count#118202L]
(28) Exchange
Input [1]: [count#118202L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=33935]
(29) ShuffleQueryStage
Output [1]: [count#118202L]
Arguments: 3
(30) HashAggregate [codegen id : 8]
Input [1]: [count#118202L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#118198L]
Results [1]: [count(1)#118198L AS count#118199L]
(31) Filter
Input [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
Condition : (str_if_with_rule((((str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SAS) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUF)) OR (str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) <=> SUN)), 1, 0) <=> 1)
(32) Project
Output [3]: [COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537 AS COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 78, 5), null), ONLY_ONE) AS COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, str_remove_space(str_if_with_rule(((COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> B) OR (COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534 <=> C)), str_extract_middle(COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, 68, 2), null), ONLY_ONE) AS COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Input [3]: [COL_B706A975_F287_4DC9_B631_A35735FE936F#117531, COL_1ADA21FB_DB08_4A1F_986E_E8E363B14F38#117534, COL_1CCAED33_3E69_435E_B522_DAE3B9E63F9D#117537]
(33) Exchange
Input [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: hashpartitioning(COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, 10), ENSURE_REQUIREMENTS, [plan_id=33386]
(34) Sort
Input [3]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676]
Arguments: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641 ASC NULLS FIRST], false, 0
(35) Filter
Input [2]: [Numéro Séjour#117354, UF#117355]
Condition : (NOT CASE WHEN isnull(StartsWith(Numéro Séjour#117354, #)) THEN false ELSE StartsWith(Numéro Séjour#117354, #) END AND isnotnull(Numéro Séjour#117354))
(36) Project
Output [2]: [Numéro Séjour#117354 AS COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, UF#117355 AS COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Input [2]: [Numéro Séjour#117354, UF#117355]
(37) Exchange
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: hashpartitioning(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 10), ENSURE_REQUIREMENTS, [plan_id=33379]
(38) Sort
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(39) Window
Input [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476]
Arguments: [row_number() windowspecdefinition(COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, 1 DESC NULLS LAST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491], [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475], [1 DESC NULLS LAST]
(40) Filter
Input [3]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476, COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491]
Condition : (COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491 <=> 1)
(41) Project
Output [2]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475 AS 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476 AS 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935]
Input [3]: [COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117475, COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117476, COL_6B340AEB_6908_4A50_8AD6_FE561D33FBE0#117491]
(42) SortMergeJoin
Left keys [1]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641]
Right keys [1]: [00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934]
Join type: LeftOuter
Join condition: None
(43) Project
Output [3]: [COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661 AS COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676 AS COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935 AS COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172]
Input [5]: [COL_136DCAA3_2545_47C9_A61E_86ED7914066D#117641, COL_FF2201D9_E9A4_4F4A_9614_694F74FD5D0F#117661, COL_7162F38A_9C38_4DB5_B1C9_2B4EDA2654DC#117676, 00_C_PASSAGE_PA_345648_COL_2AF4FE05_74B1_4A24_9BC1_7612D6ED731D#117934, 00_C_PASSAGE_PA_345648_COL_E82CFB57_01EB_4E90_836D_4D6F4CA131FE#117935]
(44) Expand
Input [3]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172]
Arguments: [[COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118172, 0], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118171, null, 1], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118170, null, null, 3], [null, null, null, 7]], [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
(45) HashAggregate
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Keys [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Functions: []
Aggregate Attributes: []
Results [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
(46) Exchange
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Arguments: hashpartitioning(COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L, 10), ENSURE_REQUIREMENTS, [plan_id=33393]
(47) HashAggregate
Input [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Keys [4]: [COL_28B296D6_D9A6_410E_9B58_AD0A235BA421#118174, COL_3B1321A8_D53E_4DF1_B0D9_7CA6812773B9#118175, COL_7B79014E_BCCD_49A7_B66E_633637AAB461#118176, spark_grouping_id#118173L]
Functions: []
Aggregate Attributes: []
Results: []
(48) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#118201L]
Results [1]: [count#118202L]
(49) Exchange
Input [1]: [count#118202L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=33397]
(50) HashAggregate
Input [1]: [count#118202L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#118198L]
Results [1]: [count(1)#118198L AS count#118199L]
(51) AdaptiveSparkPlan
Output [1]: [count#118199L]
Arguments: isFinalPlan=true