digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
1 [labelType="html" label="<br><b>CollectLimit</b><br><br>"];
subgraph cluster2 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
3 [labelType="html" label="<br><b>Project</b><br><br>"];
}
4 [labelType="html" label="<b>Window</b><br><br>spill size: 0.0 B"];
subgraph cluster5 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
6 [labelType="html" label="<b>Sort</b><br><br>sort time: 3.3 s<br>peak memory: 192.0 MiB<br>spill size: 0.0 B"];
}
7 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 2<br>partition data size total (min, med, max (stageId: taskId))<br>54.4 MiB (27.1 MiB, 27.3 MiB, 27.3 MiB (driver))<br>number of coalesced partitions: 2"];
8 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4,988,053<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>428 ms (0 ms, 49 ms, 68 ms (stage 134.0: task 388))<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,487,145<br>local bytes read: 25.9 MiB<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>222.5 MiB (0.0 B, 30.5 MiB, 30.8 MiB (stage 134.0: task 388))<br>local merged bytes read: 0.0 B<br>number of partitions: 200<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>52.0 MiB (0.0 B, 6.9 MiB, 7.4 MiB (stage 134.0: task 388))"];
9 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 4,988,053<br>number of files read: 5<br>metadata time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 1 ms, 1 ms (driver))<br>size of files read total (min, med, max (stageId: taskId))<br>928.8 MiB (0.0 B, 928.8 MiB, 928.8 MiB (driver))"];
1->0;
3->1;
4->3;
6->4;
7->6;
8->7;
9->8;
}
10
AdaptiveSparkPlan isFinalPlan=true
CollectLimit 4
Project [toprettystring(_start_station_ride_num#2387, Some(Etc/UTC)) AS toprettystring(_start_station_ride_num)#2396]
WholeStageCodegen (2)
Window [dense_rank(started_at#19) windowspecdefinition(start_station_name#21, started_at#19 ASC NULLS FIRST, specifiedwindowframe(RowFrame, unboundedpreceding$(), currentrow$())) AS _start_station_ride_num#2387], [start_station_name#21], [started_at#19 ASC NULLS FIRST]
Sort [start_station_name#21 ASC NULLS FIRST, started_at#19 ASC NULLS FIRST], false, 0
WholeStageCodegen (1)
AQEShuffleRead coalesced
Exchange hashpartitioning(start_station_name#21, 200), ENSURE_REQUIREMENTS, [plan_id=2016]
FileScan csv [started_at#19,start_station_name#21] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(5 paths)[s3a://rzvde-g9-chernyshev-miron/raw/citibike_data/202507/202507-citibi..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<started_at:timestamp,start_station_name:string>