digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
2 [labelType="html" label="<br><b>Project</b><br><br>"];
}
3 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 37 ms";
5 [labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 16.1 MiB<br>spill size: 0.0 B"];
}
6 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 129.0 B<br>number of coalesced partitions: 1"];
7 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1<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: 1<br>local bytes read: 121.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: 80.0 B<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: 121.0 B"];
subgraph cluster8 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 6 ms";
9 [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"];
}
10 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 80.0 B<br>number of coalesced partitions: 1"];
11 [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: 76.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: 32.0 B<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: 76.0 B"];
subgraph cluster12 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 13 ms";
13 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 8 ms<br>peak memory: 256.0 KiB<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
14 [labelType="html" label="<br><b>Project</b><br><br>"];
15 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,681"];
16 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 2,892<br>number of input batches: 1"];
}
17 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 5 ms<br>metadata time: 0 ms<br>size of files read: 111.7 KiB<br>number of output rows: 2,892"];
2->0;
3->2;
5->3;
6->5;
7->6;
9->7;
10->9;
11->10;
13->11;
14->13;
15->14;
16->15;
17->16;
}
18
AdaptiveSparkPlan isFinalPlan=true
Project [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303255, round(COL_65309527_FF56_4552_B23C_035A25067E79#2303205, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303256, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
WholeStageCodegen (4)
Window [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303205], [1], [1 DESC NULLS LAST]
Sort [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
WholeStageCodegen (3)
AQEShuffleRead coalesced
Exchange hashpartitioning(1, 10), ENSURE_REQUIREMENTS, [plan_id=1136600]
HashAggregate(keys=[COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110], functions=[sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, 10), ENSURE_REQUIREMENTS, [plan_id=1136519]
HashAggregate(keys=[COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110], functions=[partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)])
Project [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117]
Filter (NOT (COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 <=> +))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876,COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878,COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885] Batched: true, DataFilters: [NOT (COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876 <=> RC-FP* et CFU), (COL_F7E6B982_AE01_4D6..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/06_COMPILATION__152291], PartitionFilters: [], PushedFilters: [Not(EqualNullSafe(COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA,RC-FP* et CFU)), EqualNullSafe(COL_F7..., ReadSchema: struct<COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA:string,COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7:s...
== Physical Plan ==
AdaptiveSparkPlan (26)
+- == Final Plan ==
* Project (15)
+- Window (14)
+- * Sort (13)
+- AQEShuffleRead (12)
+- ShuffleQueryStage (11), Statistics(sizeInBytes=80.0 B, rowCount=1)
+- Exchange (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=32.0 B, rowCount=1)
+- Exchange (6)
+- * HashAggregate (5)
+- * Project (4)
+- * Filter (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
CollectLimit (25)
+- Project (24)
+- Window (23)
+- Sort (22)
+- Exchange (21)
+- HashAggregate (20)
+- Exchange (19)
+- HashAggregate (18)
+- Project (17)
+- Filter (16)
+- Scan parquet (1)
(1) Scan parquet
Output [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/06_COMPILATION__152291]
PushedFilters: [Not(EqualNullSafe(COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA,RC-FP* et CFU)), EqualNullSafe(COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7,+)]
ReadSchema: struct<COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA:string,COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7:string,COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6:double>
(2) ColumnarToRow [codegen id : 1]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
(3) Filter [codegen id : 1]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
Condition : (NOT (COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 <=> +))
(4) Project [codegen id : 1]
Output [2]: [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
(5) HashAggregate [codegen id : 1]
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110]
Functions [1]: [partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)]
Aggregate Attributes [1]: [sum#2303262]
Results [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
(6) Exchange
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Arguments: hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, 10), ENSURE_REQUIREMENTS, [plan_id=1136519]
(7) ShuffleQueryStage
Output [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Arguments: 0
(8) AQEShuffleRead
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110]
Functions [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)]
Aggregate Attributes [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)#2303164]
Results [3]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110 AS COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)#2303164 AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, str_create(Ajout forfait (€) hors FP* et CFU) AS COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
(10) Exchange
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: hashpartitioning(1, 10), ENSURE_REQUIREMENTS, [plan_id=1136600]
(11) ShuffleQueryStage
Output [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: 1
(12) AQEShuffleRead
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: coalesced
(13) Sort [codegen id : 3]
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(14) Window
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303205], [1], [1 DESC NULLS LAST]
(15) Project [codegen id : 4]
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303255, round(COL_65309527_FF56_4552_B23C_035A25067E79#2303205, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303256, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195, COL_65309527_FF56_4552_B23C_035A25067E79#2303205]
(16) Filter
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
Condition : (NOT (COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 <=> +))
(17) Project
Output [2]: [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2302876, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2302878, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2302885]
(18) HashAggregate
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110]
Functions [1]: [partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)]
Aggregate Attributes [1]: [sum#2303262]
Results [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
(19) Exchange
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Arguments: hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, 10), ENSURE_REQUIREMENTS, [plan_id=1136488]
(20) HashAggregate
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110, sum#2303263]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110]
Functions [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)]
Aggregate Attributes [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)#2303164]
Results [3]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2303110 AS COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2303117)#2303164 AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, str_create(Ajout forfait (€) hors FP* et CFU) AS COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
(21) Exchange
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: hashpartitioning(1, 10), ENSURE_REQUIREMENTS, [plan_id=1136491]
(22) Sort
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(23) Window
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303205], [1], [1 DESC NULLS LAST]
(24) Project
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303255, round(COL_65309527_FF56_4552_B23C_035A25067E79#2303205, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2303256, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303192, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195, COL_65309527_FF56_4552_B23C_035A25067E79#2303205]
(25) CollectLimit
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303255, COL_65309527_FF56_4552_B23C_035A25067E79#2303256, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: 500000
(26) AdaptiveSparkPlan
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2303191, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2303255, COL_65309527_FF56_4552_B23C_035A25067E79#2303256, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2303195]
Arguments: isFinalPlan=true