digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (7)\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 (6)\n \nduration: 231 ms";
5 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 231 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="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 138,151<br>spill size: 0.0 B"];
}
subgraph cluster8 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 247 ms";
9 [labelType="html" label="<b>Sort</b><br><br>sort time: 9 ms<br>peak memory: 66.0 MiB<br>spill size: 0.0 B"];
}
10 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 303.0 KiB<br>number of coalesced partitions: 1"];
11 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,055<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (2 ms, 2 ms, 2 ms (stage 712.0: task 1544))<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: 51,055<br>local bytes read: 290.5 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>1595.5 KiB (188.5 KiB, 1407.0 KiB, 1407.0 KiB (stage 712.0: task 1544))<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>290.5 KiB (34.0 KiB, 256.6 KiB, 256.6 KiB (stage 712.0: task 1544))"];
12 [labelType="html" label="<br><b>Union</b><br><br>"];
subgraph cluster13 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 27 ms";
14 [labelType="html" label="<br><b>Project</b><br><br>"];
}
15 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 6,031<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 514.2 KiB"];
subgraph cluster16 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 1.1 s";
17 [labelType="html" label="<br><b>Project</b><br><br>"];
18 [labelType="html" label="<b>Scan JDBCRelation((SELECT \"IPP\", \"NOM_FAM\", \"PRENOM\", \"NOM_NAISSANCE\", \"NATIONALITE\", \"SEXE\", \"CIVILITE\", \"DATE_NAIS\", \"FINESS_ETAB\", \"INSC\", \"CODE ETAB\", \"NOM ETAB\" FROM \"formation\".\"patient_etab_sta\") as x) [numPartitions=1] </b><br><br>number of output rows: 45,024"];
}
subgraph cluster19 {
isCluster="true";
label="WholeStageCodegen (5)\n \nduration: 1.5 s";
20 [labelType="html" label="<b>Sort</b><br><br>sort time: 15 ms<br>peak memory: 68.0 MiB<br>spill size: 0.0 B"];
}
21 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 422.4 KiB<br>number of coalesced partitions: 1"];
22 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 95,000<br>local merged chunks fetched: 0<br>shuffle write time: 4 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: 95,000<br>local bytes read: 397.8 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: 2.9 MiB<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: 397.8 KiB"];
subgraph cluster23 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 2.0 s";
24 [labelType="html" label="<br><b>Project</b><br><br>"];
25 [labelType="html" label="<b>Scan JDBCRelation((SELECT \"IPP\", \"Code-etablissement\", \"rue\", \"code-postal\", \"commune\", \"Latitude-Adresse\", \"Longitude-Adresse\" FROM \"formation\".\"adresse_patient\") as x) [numPartitions=1] </b><br><br>number of output rows: 95,000"];
}
2->0;
3->2;
5->3;
6->5;
7->6;
9->7;
10->9;
11->10;
12->11;
14->12;
15->14;
17->12;
18->17;
20->7;
21->20;
22->21;
24->22;
25->24;
}
26
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (7)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=28698]
HashAggregate(keys=[], functions=[partial_count(1)])
Project
SortMergeJoin [COL_DA837A66_A5E3_4D78_8146_E77811E1D906#86497], [ADRESSE_PATIENT_23201_IPP_23202#86533], LeftOuter
WholeStageCodegen (6)
Sort [COL_DA837A66_A5E3_4D78_8146_E77811E1D906#86497 ASC NULLS FIRST], false, 0
WholeStageCodegen (4)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_DA837A66_A5E3_4D78_8146_E77811E1D906#86497, 10), ENSURE_REQUIREMENTS, [plan_id=28467]
Union
Project [N°Patient #86170 AS COL_DA837A66_A5E3_4D78_8146_E77811E1D906#86497]
WholeStageCodegen (1)
FileScan csv [N°Patient #86170] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/tmp/DEPOT_CONNECTEU_23174/PATIENT_ETAB_VAL-..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<N°Patient :string>
Project [IPP#86271 AS COL_DA837A66_A5E3_4D78_8146_E77811E1D906#87011]
Scan JDBCRelation((SELECT "IPP", "NOM_FAM", "PRENOM", "NOM_NAISSANCE", "NATIONALITE", "SEXE", "CIVILITE", "DATE_NAIS", "FINESS_ETAB", "INSC", "CODE ETAB", "NOM ETAB" FROM "formation"."patient_etab_sta") as x) [numPartitions=1] [IPP#86271] PushedFilters: [], ReadSchema: struct<IPP:string>
WholeStageCodegen (2)
Sort [ADRESSE_PATIENT_23201_IPP_23202#86533 ASC NULLS FIRST], false, 0
WholeStageCodegen (5)
AQEShuffleRead coalesced
Exchange hashpartitioning(ADRESSE_PATIENT_23201_IPP_23202#86533, 10), ENSURE_REQUIREMENTS, [plan_id=28479]
Project [IPP#86013 AS ADRESSE_PATIENT_23201_IPP_23202#86533]
Scan JDBCRelation((SELECT "IPP", "Code-etablissement", "rue", "code-postal", "commune", "Latitude-Adresse", "Longitude-Adresse" FROM "formation"."adresse_patient") as x) [numPartitions=1] [IPP#86013] PushedFilters: [*IsNotNull(IPP)], ReadSchema: struct<IPP:string>
WholeStageCodegen (3)