digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>TakeOrderedAndProject</b><br><br>"];
subgraph cluster2 {
isCluster="true";
label="WholeStageCodegen (5)\n \nduration: 2 ms";
3 [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: 3<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 368.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 5<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 1 ms, 1 ms (stage 8943.0: task 12272))<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: 5<br>local bytes read: 364.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: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>168.0 B (32.0 B, 64.0 B, 72.0 B (stage 8943.0: task 12271))<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>364.0 B (71.0 B, 142.0 B, 151.0 B (stage 8943.0: task 12271))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n34 ms (9 ms, 12 ms, 13 ms (stage 8943.0: task 12272))";
7 [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>13 ms (3 ms, 5 ms, 5 ms (stage 8943.0: task 12271))<br>peak memory total (min, med, max (stageId: taskId))<br>768.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 8943.0: task 12273))<br>number of output rows: 5<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
}
8 [labelType="html" label="<br><b>Union</b><br><br>"];
subgraph cluster9 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 29 ms";
10 [labelType="html" label="<br><b>Project</b><br><br>"];
11 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 166"];
12 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 166<br>number of input batches: 1"];
}
13 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 4 ms<br>metadata time: 0 ms<br>size of files read: 4.3 KiB<br>number of output rows: 166"];
subgraph cluster14 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 28 ms";
15 [labelType="html" label="<br><b>Project</b><br><br>"];
16 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 166"];
17 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 166<br>number of input batches: 1"];
}
18 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 4 ms<br>metadata time: 0 ms<br>size of files read: 4.3 KiB<br>number of output rows: 166"];
subgraph cluster19 {
isCluster="true";
label="WholeStageCodegen (3)\n \nduration: 34 ms";
20 [labelType="html" label="<br><b>Project</b><br><br>"];
21 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 201"];
22 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 201<br>number of input batches: 1"];
}
23 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 3 ms<br>metadata time: 0 ms<br>size of files read: 4.4 KiB<br>number of output rows: 201"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
10->8;
11->10;
12->11;
13->12;
15->8;
16->15;
17->16;
18->17;
20->8;
21->20;
22->21;
23->22;
}
24
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=10, orderBy=[COL_TRIGRAMME_2162722#729730L DESC NULLS LAST], output=[COL_TRIGRAMME_2162721#729721,COL_TRIGRAMME_2162722#729730L])
HashAggregate(keys=[COL_TRIGRAMME_216272#729714], functions=[count(1)])
WholeStageCodegen (5)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_TRIGRAMME_216272#729714, 10), ENSURE_REQUIREMENTS, [plan_id=444818]
HashAggregate(keys=[COL_TRIGRAMME_216272#729714], functions=[partial_count(1)])
WholeStageCodegen (4)
Union
Project [Trigramme#729424 AS COL_TRIGRAMME_216272#729714]
Filter isnotnull(Trigramme#729424)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [Trigramme#729424] Batched: true, DataFilters: [isnotnull(Trigramme#729424)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/TARIF_FORFAIT_S_216188_8c16894e8611..., PartitionFilters: [], PushedFilters: [IsNotNull(Trigramme)], ReadSchema: struct<Trigramme:string>
Project [Trigramme#729495 AS COL_TRIGRAMME_216272#729751]
Filter isnotnull(Trigramme#729495)
ColumnarToRow
WholeStageCodegen (2)
FileScan parquet [Trigramme#729495] Batched: true, DataFilters: [isnotnull(Trigramme#729495)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/TARIF_FORFAIT_S_216188_40efcfa797c9..., PartitionFilters: [], PushedFilters: [IsNotNull(Trigramme)], ReadSchema: struct<Trigramme:string>
Project [Trigramme#729573 AS COL_TRIGRAMME_216272#729752]
Filter isnotnull(Trigramme#729573)
ColumnarToRow
WholeStageCodegen (3)
FileScan parquet [Trigramme#729573] Batched: true, DataFilters: [isnotnull(Trigramme#729573)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/TARIF_FORFAIT_S_216188_808989d69c5c..., PartitionFilters: [], PushedFilters: [IsNotNull(Trigramme)], ReadSchema: struct<Trigramme:string>