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: 63 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: 117.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: 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: 113.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: 72.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: 113.0 B"];
subgraph cluster8 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 27 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: 160.0 B<br>number of coalesced partitions: 1"];
11 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 31360.0: task 37701))<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<br>local bytes read: 152.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: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>64.0 B (32.0 B, 32.0 B, 32.0 B (stage 31360.0: task 37704))<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>152.0 B (76.0 B, 76.0 B, 76.0 B (stage 31360.0: task 37704))"];
subgraph cluster12 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n62 ms (11 ms, 16 ms, 23 ms (stage 31360.0: task 37701))";
13 [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>26 ms (2 ms, 7 ms, 14 ms (stage 31360.0: task 37701))<br>peak memory total (min, med, max (stageId: taskId))<br>1024.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 31360.0: task 37702))<br>number of output rows: 2<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: 54"];
16 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 39,646<br>number of input batches: 10"];
}
17 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>14 ms (2 ms, 3 ms, 6 ms (stage 31360.0: task 37701))<br>metadata time: 0 ms<br>size of files read: 6.2 MiB<br>number of output rows: 39,646"];
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#2381651, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381692, round(COL_65309527_FF56_4552_B23C_035A25067E79#2381665, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381693, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
WholeStageCodegen (4)
Window [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381665], [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=1181341]
HashAggregate(keys=[COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603], functions=[sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, 10), ENSURE_REQUIREMENTS, [plan_id=1181223]
HashAggregate(keys=[COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603], functions=[partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)])
Project [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610]
Filter ((COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 <=> -))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487,COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489,COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496] Batched: true, DataFilters: [(COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487 <=> RC-FP* et CFU), (COL_F7E6B982_AE01_4D61_95..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/06_COMPILATION__161863], PartitionFilters: [], PushedFilters: [EqualNullSafe(COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA,RC-FP* et CFU), EqualNullSafe(COL_F7E6B98..., 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=72.0 B, rowCount=1)
+- Exchange (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=64.0 B, rowCount=2)
+- 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#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/06_COMPILATION__161863]
PushedFilters: [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#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
(3) Filter [codegen id : 1]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
Condition : ((COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 <=> -))
(4) Project [codegen id : 1]
Output [2]: [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
(5) HashAggregate [codegen id : 1]
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603]
Functions [1]: [partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)]
Aggregate Attributes [1]: [sum#2381699]
Results [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
(6) Exchange
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Arguments: hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, 10), ENSURE_REQUIREMENTS, [plan_id=1181223]
(7) ShuffleQueryStage
Output [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Arguments: 0
(8) AQEShuffleRead
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603]
Functions [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)]
Aggregate Attributes [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)#2381639]
Results [3]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603 AS COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)#2381639 AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, str_create(Suppression FP* et CFU (€)) AS COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
(10) Exchange
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: hashpartitioning(1, 10), ENSURE_REQUIREMENTS, [plan_id=1181341]
(11) ShuffleQueryStage
Output [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: 1
(12) AQEShuffleRead
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: coalesced
(13) Sort [codegen id : 3]
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(14) Window
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381665], [1], [1 DESC NULLS LAST]
(15) Project [codegen id : 4]
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381692, round(COL_65309527_FF56_4552_B23C_035A25067E79#2381665, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381693, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655, COL_65309527_FF56_4552_B23C_035A25067E79#2381665]
(16) Filter
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
Condition : ((COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487 <=> RC-FP* et CFU) AND (COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 <=> -))
(17) Project
Output [2]: [COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489 AS COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496 AS COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610]
Input [3]: [COL_2876989F_DEC1_40A8_860A_830E1DDD6BAA#2381487, COL_F7E6B982_AE01_4D61_95F1_A194F4B50FB7#2381489, COL_E38AB62F_E896_4A72_BE7E_515F8BC641C6#2381496]
(18) HashAggregate
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603]
Functions [1]: [partial_sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)]
Aggregate Attributes [1]: [sum#2381699]
Results [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
(19) Exchange
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Arguments: hashpartitioning(COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, 10), ENSURE_REQUIREMENTS, [plan_id=1181192]
(20) HashAggregate
Input [2]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603, sum#2381700]
Keys [1]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603]
Functions [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)]
Aggregate Attributes [1]: [sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)#2381639]
Results [3]: [COL_71B291BB_B70A_4C3D_8C86_789EBE8A855C#2381603 AS COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, sum(COL_6C88C0DB_D28A_4ECB_8817_A2A00EE71232#2381610)#2381639 AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, str_create(Suppression FP* et CFU (€)) AS COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
(21) Exchange
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: hashpartitioning(1, 10), ENSURE_REQUIREMENTS, [plan_id=1181195]
(22) Sort
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: [1 ASC NULLS FIRST, 1 DESC NULLS LAST], false, 0
(23) Window
Input [3]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: [sum(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652) windowspecdefinition(1, 1 DESC NULLS LAST, specifiedwindowframe(RangeFrame, unboundedpreceding$(), currentrow$())) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381665], [1], [1 DESC NULLS LAST]
(24) Project
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, round(COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, 2) AS COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381692, round(COL_65309527_FF56_4552_B23C_035A25067E79#2381665, 2) AS COL_65309527_FF56_4552_B23C_035A25067E79#2381693, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381652, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655, COL_65309527_FF56_4552_B23C_035A25067E79#2381665]
(25) CollectLimit
Input [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381692, COL_65309527_FF56_4552_B23C_035A25067E79#2381693, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: 500000
(26) AdaptiveSparkPlan
Output [4]: [COL_E04D1B8F_8897_4559_B22A_E128F87CC4A1#2381651, COL_D7D159AD_30BF_4557_9945_0949EE7FCBCA#2381692, COL_65309527_FF56_4552_B23C_035A25067E79#2381693, COL_C5B435F1_2BF0_4472_8C80_451FC7087109#2381655]
Arguments: isFinalPlan=true