digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 572.0: task 815))<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: 6<br>local bytes read: 345.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: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>96.0 B (16.0 B, 16.0 B, 16.0 B (stage 572.0: task 815))<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 total (min, med, max (stageId: taskId))<br>345.0 B (56.0 B, 59.0 B, 59.0 B (stage 572.0: task 811))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13.7 s (1.5 s, 2.4 s, 2.9 s (stage 572.0: task 814))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.7 s (1.5 s, 2.4 s, 2.9 s (stage 572.0: task 814))<br>number of output rows: 6"];
6 [labelType="html" label="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 19,398"];
8 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 567,911<br>number of input batches: 143"];
}
9 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 12<br>scan time total (min, med, max (stageId: taskId))<br>1.1 s (51 ms, 75 ms, 675 ms (stage 572.0: task 814))<br>metadata time: 0 ms<br>size of files read: 6.2 MiB<br>number of output rows: 567,911"];
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=8671]
HashAggregate(keys=[], functions=[partial_count(1)])
Project
Filter (((((((((CASE WHEN isnull(Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME)) THEN false ELSE Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(IPP_19976#118120)), ME)) THEN false ELSE Contains(str_remove_accent(upper(IPP_19976#118120)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME)) THEN false ELSE Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME) END)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [CODE_CHAMBRE_19984#118113,CODE_ETABLISSEM_19982#118114,CODE_UF_19985#118115,DATE_DE_CONFIRM_19981#118116,DATE_DE_SAISIE__19980#118117,IPP_19976#118120,LIBELLE_ETABLIS_19983#118121,LIBELLE_UF_19986#118122,NUMERO_DE_VENUE_19975#118123,TYPE_DE_VENUE_19977#118124] Batched: true, DataFilters: [(((((((((CASE WHEN isnull(Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME)) ..., Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/uet/PATIENTS_VENUES_19974], PartitionFilters: [], PushedFilters: [], ReadSchema: struct<CODE_CHAMBRE_19984:string,CODE_ETABLISSEM_19982:string,CODE_UF_19985:string,DATE_DE_CONFIR...
== Physical Plan ==
AdaptiveSparkPlan (14)
+- == Final Plan ==
* HashAggregate (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=96.0 B, rowCount=6)
+- 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 [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/uet/PATIENTS_VENUES_19974]
ReadSchema: struct<CODE_CHAMBRE_19984:string,CODE_ETABLISSEM_19982:string,CODE_UF_19985:string,DATE_DE_CONFIRM_19981:string,DATE_DE_SAISIE__19980:string,IPP_19976:string,LIBELLE_ETABLIS_19983:string,LIBELLE_UF_19986:string,NUMERO_DE_VENUE_19975:string,TYPE_DE_VENUE_19977:string>
(2) ColumnarToRow [codegen id : 1]
Input [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
(3) Filter [codegen id : 1]
Input [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
Condition : (((((((((CASE WHEN isnull(Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME)) THEN false ELSE Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(IPP_19976#118120)), ME)) THEN false ELSE Contains(str_remove_accent(upper(IPP_19976#118120)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME)) THEN false ELSE Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME) END)
(4) Project [codegen id : 1]
Output: []
Input [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
(5) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#118604L]
Results [1]: [count#118605L]
(6) Exchange
Input [1]: [count#118605L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=8671]
(7) ShuffleQueryStage
Output [1]: [count#118605L]
Arguments: 0
(8) HashAggregate [codegen id : 2]
Input [1]: [count#118605L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#118534L]
Results [1]: [count(1)#118534L AS COL_f556a419-fb02-4a6d-93bf-df5172ebf4d1#118536L]
(9) Filter
Input [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
Condition : (((((((((CASE WHEN isnull(Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME)) THEN false ELSE Contains(str_remove_accent(upper(NUMERO_DE_VENUE_19975#118123)), ME) END OR CASE WHEN isnull(Contains(str_remove_accent(upper(IPP_19976#118120)), ME)) THEN false ELSE Contains(str_remove_accent(upper(IPP_19976#118120)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME)) THEN false ELSE Contains(str_remove_accent(upper(TYPE_DE_VENUE_19977#118124)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_SAISIE__19980#118117)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME)) THEN false ELSE Contains(str_remove_accent(upper(DATE_DE_CONFIRM_19981#118116)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_ETABLISSEM_19982#118114)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_ETABLIS_19983#118121)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_CHAMBRE_19984#118113)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME)) THEN false ELSE Contains(str_remove_accent(upper(CODE_UF_19985#118115)), ME) END) OR CASE WHEN isnull(Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME)) THEN false ELSE Contains(str_remove_accent(upper(LIBELLE_UF_19986#118122)), ME) END)
(10) Project
Output: []
Input [10]: [CODE_CHAMBRE_19984#118113, CODE_ETABLISSEM_19982#118114, CODE_UF_19985#118115, DATE_DE_CONFIRM_19981#118116, DATE_DE_SAISIE__19980#118117, IPP_19976#118120, LIBELLE_ETABLIS_19983#118121, LIBELLE_UF_19986#118122, NUMERO_DE_VENUE_19975#118123, TYPE_DE_VENUE_19977#118124]
(11) HashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#118604L]
Results [1]: [count#118605L]
(12) Exchange
Input [1]: [count#118605L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=8651]
(13) HashAggregate
Input [1]: [count#118605L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#118534L]
Results [1]: [count(1)#118534L AS COL_f556a419-fb02-4a6d-93bf-df5172ebf4d1#118536L]
(14) AdaptiveSparkPlan
Output [1]: [COL_f556a419-fb02-4a6d-93bf-df5172ebf4d1#118536L]
Arguments: isFinalPlan=true