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 (2)\n \nduration: 1 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: 64.2 MiB<br>number of output rows: 11<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: 1277.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 19<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (1 ms, 1 ms, 1 ms (stage 3170.0: task 25859))<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: 19<br>local bytes read: 1248.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: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>736.0 B (352.0 B, 384.0 B, 384.0 B (stage 3170.0: task 25859))<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>1248.0 B (613.0 B, 635.0 B, 635.0 B (stage 3170.0: task 25859))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n152 ms (76 ms, 76 ms, 76 ms (stage 3170.0: task 25858))";
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>36 ms (18 ms, 18 ms, 18 ms (stage 3170.0: task 25858))<br>peak memory total (min, med, max (stageId: taskId))<br>512.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3170.0: task 25858))<br>number of output rows: 19<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 18,787"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 18,958<br>number of input batches: 6"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 2<br>scan time total (min, med, max (stageId: taskId))<br>12 ms (6 ms, 6 ms, 6 ms (stage 3170.0: task 25858))<br>metadata time: 0 ms<br>size of files read: 213.4 KiB<br>number of output rows: 18,958"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
11->10;
}
12
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=10, orderBy=[COL_A3FEC8E3_0B77_4108_9EE7_3A921E1098342#445881L DESC NULLS LAST], output=[COL_A3FEC8E3_0B77_4108_9EE7_3A921E1098341#445870,COL_A3FEC8E3_0B77_4108_9EE7_3A921E1098342#445881L])
HashAggregate(keys=[COL_A3FEC8E3_0B77_4108_9EE7_3A921E109834#445858], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_A3FEC8E3_0B77_4108_9EE7_3A921E109834#445858, 10), ENSURE_REQUIREMENTS, [plan_id=106412]
HashAggregate(keys=[COL_A3FEC8E3_0B77_4108_9EE7_3A921E109834#445858], functions=[partial_count(1)])
Project [Mode+de+transport#445662 AS COL_A3FEC8E3_0B77_4108_9EE7_3A921E109834#445858]
Filter isnotnull(Mode+de+transport#445662)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [Mode+de+transport#445662] Batched: true, DataFilters: [isnotnull(Mode+de+transport#445662)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12B..., PartitionFilters: [], PushedFilters: [IsNotNull(`Mode+de+transport`)], ReadSchema: struct<Mode+de+transport:string>