digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 0 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 7<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 14.0: task 39))<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: 7<br>local bytes read: 413.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: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>112.0 B (0.0 B, 16.0 B, 16.0 B (stage 14.0: task 35))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<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>413.0 B (0.0 B, 59.0 B, 59.0 B (stage 14.0: task 35))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n19.1 s (1.1 s, 2.9 s, 3.4 s (stage 14.0: task 36))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>19.1 s (1.1 s, 2.9 s, 3.4 s (stage 14.0: task 36))<br>number of output rows: 7"];
6 [labelType="html" label="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 182,197"];
}
8 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 4,230,360<br>number of files read: 5<br>metadata time: 0 ms<br>size of files read: 760.1 MiB"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
}
9
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (2)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=241]
HashAggregate(keys=[], functions=[partial_count(1)])
Project
Filter (((isnull(ride_id#17) OR (trim(ride_id#17, None) = )) OR ((isnull(cast(started_at#19 as timestamp)) OR isnull(cast(ended_at#20 as timestamp))) OR (cast(ended_at#20 as timestamp) <= cast(started_at#19 as timestamp)))) OR ((isnull(start_station_id#22) OR isnull(end_station_id#24)) OR (end_station_id#24 = start_station_id#22)))
WholeStageCodegen (1)
FileScan csv [ride_id#17,started_at#19,ended_at#20,start_station_id#22,end_station_id#24] Batched: false, DataFilters: [(((isnull(ride_id#17) OR (trim(ride_id#17, None) = )) OR ((isnull(cast(started_at#19 as timestam..., Format: CSV, Location: InMemoryFileIndex(5 paths)[s3a://rzvde-g12-kryukov-egor/raw/citibike_data/202405/202405-citibike-..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<ride_id:string,started_at:string,ended_at:string,start_station_id:string,end_station_id:st...