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: 128 ms";
3 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 89 ms<br>peak memory: 24.0 MiB<br>number of output rows: 142,211<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1.6"];
}
4 [labelType="html" label="<b>AQEShuffleRead</b><br><br>number of partitions: 1<br>partition data size: 1458.1 KiB<br>number of coalesced partitions: 1"];
5 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 142,211<br>local merged chunks fetched: 0<br>shuffle write time: 4 ms<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: 142,211<br>local bytes read: 1425.6 KiB<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 3.3 MiB<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: 1425.6 KiB"];
subgraph cluster6 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 296 ms";
7 [labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 202 ms<br>peak memory: 20.0 MiB<br>number of output rows: 142,211<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1.4"];
8 [labelType="html" label="<br><b>Project</b><br><br>"];
9 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 423,905"];
10 [labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 617,988<br>number of input batches: 151"];
}
11 [labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 46 ms<br>metadata time: 0 ms<br>size of files read: 2.7 MiB<br>number of output rows: 617,988"];
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_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L DESC NULLS LAST], output=[COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171,COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L])
HashAggregate(keys=[COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114], functions=[count(1)])
WholeStageCodegen (2)
AQEShuffleRead coalesced
Exchange hashpartitioning(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, 10), ENSURE_REQUIREMENTS, [plan_id=8329]
HashAggregate(keys=[knownfloatingpointnormalized(normalizenanandzero(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114)) AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114], functions=[partial_count(1)])
Project [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928 AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Filter isnotnull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928)
ColumnarToRow
WholeStageCodegen (1)
FileScan parquet [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928] Batched: true, DataFilters: [isnotnull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[file:/data/output/cache/parquet/datablock/TEST_156492], PartitionFilters: [], PushedFilters: [IsNotNull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14)], ReadSchema: struct<COL_3FCABC8B_94D6_4907_A464_3800851C2E14:double>
== Physical Plan ==
AdaptiveSparkPlan (17)
+- == Final Plan ==
TakeOrderedAndProject (10)
+- * HashAggregate (9)
+- AQEShuffleRead (8)
+- ShuffleQueryStage (7), Statistics(sizeInBytes=3.3 MiB, rowCount=1.42E+5)
+- Exchange (6)
+- * HashAggregate (5)
+- * Project (4)
+- * Filter (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
TakeOrderedAndProject (16)
+- HashAggregate (15)
+- Exchange (14)
+- HashAggregate (13)
+- Project (12)
+- Filter (11)
+- Scan parquet (1)
(1) Scan parquet
Output [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/datablock/TEST_156492]
PushedFilters: [IsNotNull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14)]
ReadSchema: struct<COL_3FCABC8B_94D6_4907_A464_3800851C2E14:double>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
(3) Filter [codegen id : 1]
Input [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
Condition : isnotnull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928)
(4) Project [codegen id : 1]
Output [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928 AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Input [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
(5) HashAggregate [codegen id : 1]
Input [1]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Keys [1]: [knownfloatingpointnormalized(normalizenanandzero(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114)) AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#116212L]
Results [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
(6) Exchange
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Arguments: hashpartitioning(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, 10), ENSURE_REQUIREMENTS, [plan_id=8329]
(7) ShuffleQueryStage
Output [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Arguments: 0
(8) AQEShuffleRead
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Arguments: coalesced
(9) HashAggregate [codegen id : 2]
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Keys [1]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#116203L]
Results [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114 AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, count(1)#116203L AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
(10) TakeOrderedAndProject
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
Arguments: 10, [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L DESC NULLS LAST], [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
(11) Filter
Input [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
Condition : isnotnull(COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928)
(12) Project
Output [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928 AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Input [1]: [COL_3FCABC8B_94D6_4907_A464_3800851C2E14#115928]
(13) HashAggregate
Input [1]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Keys [1]: [knownfloatingpointnormalized(normalizenanandzero(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114)) AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#116212L]
Results [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
(14) Exchange
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Arguments: hashpartitioning(COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, 10), ENSURE_REQUIREMENTS, [plan_id=8306]
(15) HashAggregate
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114, count#116213L]
Keys [1]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114]
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#116203L]
Results [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E14#116114 AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, count(1)#116203L AS COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
(16) TakeOrderedAndProject
Input [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
Arguments: 10, [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L DESC NULLS LAST], [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
(17) AdaptiveSparkPlan
Output [2]: [COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E141#116171, COL_COL_3FCABC8B_94D6_4907_A464_3800851C2E142#116205L]
Arguments: isFinalPlan=true