digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (6)\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 (5)\n \nduration: 0 ms";
5 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 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: 4<br>spill size: 0.0 B"];
}
subgraph cluster8 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 2 ms";
9 [labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 64.1 MiB<br>spill size: 0.0 B"];
}
10 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 88.0 B<br>number of coalesced partitions: 1"];
11 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4<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: 4<br>local bytes read: 81.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: 128.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: 81.0 B"];
subgraph cluster12 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n49 ms (4 ms, 45 ms, 45 ms (stage 1231.0: task 1140))";
13 [labelType="html" label="<br><b>Project</b><br><br>"];
14 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 4"];
15 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 17,658<br>number of input batches: 5"];
}
16 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time total (min, med, max (stageId: taskId))<br>38 ms (3 ms, 35 ms, 35 ms (stage 1231.0: task 1140))<br>metadata time: 0 ms<br>size of files read: 4.5 MiB<br>number of output rows: 17,658"];
subgraph cluster17 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: 1 ms";
18 [labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 64.1 MiB<br>spill size: 0.0 B"];
}
19 [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"];
20 [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: 73.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: 73.0 B"];
subgraph cluster21 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 12 ms";
22 [labelType="html" label="<br><b>Project</b><br><br>"];
23 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 1"];
24 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 23,504<br>number of input batches: 6"];
}
25 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 6 ms<br>metadata time: 0 ms<br>size of files read: 910.0 KiB<br>number of output rows: 23,504"];
2->0;
3->2;
5->3;
6->5;
7->6;
9->7;
10->9;
11->10;
13->11;
14->13;
15->14;
16->15;
18->7;
19->18;
20->19;
22->20;
23->22;
24->23;
25->24;
}
26
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (6)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=18735]
HashAggregate(keys=[], functions=[partial_count(1)])
Project
SortMergeJoin [COL_91CF17C4_5CDC_4008_8AD7_F1285B607EDB#252136], [H_PATIEN_438514_COL_499EB20D_E124_400E_A51E_F020884D243F#252206], LeftOuter
WholeStageCodegen (5)
Sort [COL_91CF17C4_5CDC_4008_8AD7_F1285B607EDB#252136 ASC NULLS FIRST], false, 0
WholeStageCodegen (3)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_91CF17C4_5CDC_4008_8AD7_F1285B607EDB#252136, 10), ENSURE_REQUIREMENTS, [plan_id=18618]
Project [CR_NUMDOS_437326#250001 AS COL_91CF17C4_5CDC_4008_8AD7_F1285B607EDB#252136]
Filter (NOT (CR_CR_437338#249948 <=> [NULL]) AND (CR_NUMDOS_437326#250001 <=> A10000006177))
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [CR_CR_437338#249948,CR_NUMDOS_437326#250001] Batched: true, DataFilters: [NOT (CR_CR_437338#249948 <=> [NULL]), (CR_NUMDOS_437326#250001 <=> A10000006177)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/uet/H_CR_437324], PartitionFilters: [], PushedFilters: [Not(EqualNullSafe(CR_CR_437338,[NULL])), EqualNullSafe(CR_NUMDOS_437326,A10000006177)], ReadSchema: struct<CR_CR_437338:string,CR_NUMDOS_437326:string>
Sort [H_PATIEN_438514_COL_499EB20D_E124_400E_A51E_F020884D243F#252206 ASC NULLS FIRST], false, 0
WholeStageCodegen (4)
AQEShuffleRead coalesced
Exchange hashpartitioning(H_PATIEN_438514_COL_499EB20D_E124_400E_A51E_F020884D243F#252206, 10), ENSURE_REQUIREMENTS, [plan_id=18639]
Project [AT_NUMDOS_438023#248290 AS H_PATIEN_438514_COL_499EB20D_E124_400E_A51E_F020884D243F#252206]
Filter ((AT_NUMDOS_438023#248290 <=> A10000006177) AND isnotnull(AT_NUMDOS_438023#248290))
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [AT_NUMDOS_438023#248290] Batched: true, DataFilters: [(AT_NUMDOS_438023#248290 <=> A10000006177), isnotnull(AT_NUMDOS_438023#248290)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/uet/H_PATIEN_438022], PartitionFilters: [], PushedFilters: [EqualNullSafe(AT_NUMDOS_438023,A10000006177), IsNotNull(AT_NUMDOS_438023)], ReadSchema: struct<AT_NUMDOS_438023:string>