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: 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: 64.2 MiB<br>number of output rows: 1<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: 144.0 B<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 3271.0: task 26019))<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: 2<br>local bytes read: 144.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>64.0 B (32.0 B, 32.0 B, 32.0 B (stage 3271.0: task 26020))<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>144.0 B (72.0 B, 72.0 B, 72.0 B (stage 3271.0: task 26020))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (8 ms, 8 ms, 8 ms (stage 3271.0: task 26020))";
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>10 ms (5 ms, 5 ms, 5 ms (stage 3271.0: task 26020))<br>peak memory total (min, med, max (stageId: taskId))<br>512.0 KiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3271.0: task 26020))<br>number of output rows: 2<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,958"];
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>6 ms (3 ms, 3 ms, 3 ms (stage 3271.0: task 26020))<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__LMOTACC2#451075L DESC NULLS LAST], output=[COL__LMOTACC1#451066,COL__LMOTACC2#451075L])
HashAggregate(keys=[COL__LMOTACC#451055], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL__LMOTACC#451055, 10), ENSURE_REQUIREMENTS, [plan_id=108024]
HashAggregate(keys=[COL__LMOTACC#451055], functions=[partial_count(1)])
Project [LMOTACC#450921 AS COL__LMOTACC#451055]
Filter isnotnull(LMOTACC#450921)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [LMOTACC#450921] Batched: true, DataFilters: [isnotnull(LMOTACC#450921)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/excel/cache/A66DACD4_1DD0_4911_8D5F_C28868EB12B..., PartitionFilters: [], PushedFilters: [IsNotNull(LMOTACC)], ReadSchema: struct<LMOTACC:string>