digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\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 (1)\n \nduration: 65 ms";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 65 ms<br>number of output rows: 1"];
6 [labelType="html" label="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 2"];
8 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 2,577<br>number of input batches: 1"];
}
9 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 2 ms<br>metadata time: 0 ms<br>size of files read: 57.3 KiB<br>number of output rows: 2,577"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
9->8;
}
10
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (2)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=719063]
HashAggregate(keys=[], functions=[partial_count(1)])
Project
Filter ((((CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Source#1107000)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Source#1107000)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53) END)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [Code+CIM+10#1106997,Libell%C3%A9+long#1106998,Responsable+MAJ#1106999,Source#1107000] Batched: true, DataFilters: [((((CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CI..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/DIAGNOSTIC_PE2__232731_3f61f47cf25f..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<Code+CIM+10:string,Libell%C3%A9+long:string,Responsable+MAJ:string,Source:string>
== Physical Plan ==
AdaptiveSparkPlan (14)
+- == Final Plan ==
* HashAggregate (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=16.0 B, rowCount=1)
+- Exchange (6)
+- * HashAggregate (5)
+- * Project (4)
+- * Filter (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
HashAggregate (13)
+- Exchange (12)
+- HashAggregate (11)
+- Project (10)
+- Filter (9)
+- Scan parquet (1)
(1) Scan parquet
Output [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
Batched: true
Location: InMemoryFileIndex [file:/data/input/depot/excel/cache/DIAGNOSTIC_PE2__232731_3f61f47cf25f2cffe6faba07f2a57dc7/DP_PE2.xlsx_8e052a790a9bc5b8446216002454c960]
ReadSchema: struct<Code+CIM+10:string,Libell%C3%A9+long:string,Responsable+MAJ:string,Source:string>
(2) ColumnarToRow [codegen id : 1]
Input [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
(3) Filter [codegen id : 1]
Input [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
Condition : ((((CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Source#1107000)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Source#1107000)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53) END)
(4) Project [codegen id : 1]
Output: []
Input [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
(5) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#1107183L]
Results [1]: [count#1107184L]
(6) Exchange
Input [1]: [count#1107184L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=719063]
(7) ShuffleQueryStage
Output [1]: [count#1107184L]
Arguments: 0
(8) HashAggregate [codegen id : 2]
Input [1]: [count#1107184L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#1107180L]
Results [1]: [count(1)#1107180L AS count#1107181L]
(9) Filter
Input [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
Condition : ((((CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT))), R53) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Libell%C3%A9+long#1106998)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Responsable+MAJ#1106999)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(Source#1107000)), R53)) THEN false ELSE Contains(str_remove_accent(upper(Source#1107000)), R53) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53)) THEN false ELSE Contains(str_remove_accent(upper(str_remove_space(str_remove_extend(str_remove_space(str_remove_extend(Code+CIM+10#1106997, [.]), RIGHT), [.]), RIGHT))), R53) END)
(10) Project
Output: []
Input [4]: [Code+CIM+10#1106997, Libell%C3%A9+long#1106998, Responsable+MAJ#1106999, Source#1107000]
(11) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#1107183L]
Results [1]: [count#1107184L]
(12) Exchange
Input [1]: [count#1107184L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=719043]
(13) HashAggregate
Input [1]: [count#1107184L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#1107180L]
Results [1]: [count(1)#1107180L AS count#1107181L]
(14) AdaptiveSparkPlan
Output [1]: [count#1107181L]
Arguments: isFinalPlan=true