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: 6 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 1 ms<br>peak memory: 64.2 MiB<br>number of output rows: 31<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: 8.4 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 244<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>11 ms (1 ms, 1 ms, 1 ms (stage 3218.0: task 25941))<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: 244<br>local bytes read: 8.1 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>7.6 KiB (928.0 B, 992.0 B, 992.0 B (stage 3218.0: task 25936))<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>8.1 KiB (1011.0 B, 1046.0 B, 1050.0 B (stage 3218.0: task 25938))"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (68 ms, 143 ms, 170 ms (stage 3218.0: task 25942))";
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>1.0 s (65 ms, 139 ms, 166 ms (stage 3218.0: task 25942))<br>peak memory total (min, med, max (stageId: taskId))<br>2.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3218.0: task 25936))<br>number of output rows: 244<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: 438,506"];
}
10 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 438,506<br>number of files read: 1<br>metadata time: 0 ms<br>size of files read: 29.7 MiB"];
1->0;
3->1;
4->3;
5->4;
7->5;
8->7;
9->8;
10->9;
}
11
AdaptiveSparkPlan isFinalPlan=true
TakeOrderedAndProject(limit=100, orderBy=[COL_AFD799C8_68A7_4102_A165_EAFF501D07802#448919L DESC NULLS LAST], output=[COL_AFD799C8_68A7_4102_A165_EAFF501D07801#448911,COL_AFD799C8_68A7_4102_A165_EAFF501D07802#448919L])
HashAggregate(keys=[COL_AFD799C8_68A7_4102_A165_EAFF501D0780#448905], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_AFD799C8_68A7_4102_A165_EAFF501D0780#448905, 10), ENSURE_REQUIREMENTS, [plan_id=107242]
HashAggregate(keys=[COL_AFD799C8_68A7_4102_A165_EAFF501D0780#448905], functions=[partial_count(1)])
Project [SPECACC#448794 AS COL_AFD799C8_68A7_4102_A165_EAFF501D0780#448905]
Filter isnotnull(SPECACC#448794)
WholeStageCodegen (1)
FileScan csv [SPECACC#448794] Batched: false, DataFilters: [isnotnull(SPECACC#448794)], Format: CSV, Location: InMemoryFileIndex(1 paths)[file:/data/input/depot/csv/execution/0B169EC1_E45B_447C_B262_7BC2954E3..., PartitionFilters: [], PushedFilters: [IsNotNull(SPECACC)], ReadSchema: struct<SPECACC:string>