digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 4 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 13<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 0 ms, 2 ms (stage 6.0: task 16))<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: 13<br>local bytes read: 295.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 472.0 B<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 8<br>data size total (min, med, max (stageId: taskId))<br>208.0 B (0.0 B, 16.0 B, 16.0 B (stage 6.0: task 26))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 12 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>767.0 B (0.0 B, 59.0 B, 59.0 B (stage 6.0: task 26))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n32.4 s (1.5 s, 2.2 s, 5.4 s (stage 6.0: task 27))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>32.3 s (1.5 s, 2.2 s, 5.4 s (stage 6.0: task 27))<br>number of output rows: 13"];
}
6 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 4,731,900<br>number of files read: 5<br>metadata time: 0 ms<br>size of files read: 881.3 MiB"];
2->0;
3->2;
5->3;
6->5;
}
7
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[count(1)])
WholeStageCodegen (2)
Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=99]
HashAggregate(keys=[], functions=[partial_count(1)])
WholeStageCodegen (1)
FileScan csv [] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(5 paths)[s3a://rzvde-g11-terentyeva-kristina/raw/citibike_data/202510/202510-ci..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<>