== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
SortAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=32.0 B, rowCount=1)
+- Exchange (5)
+- SortAggregate (4)
+- * Project (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
SortAggregate (11)
+- Exchange (10)
+- SortAggregate (9)
+- Project (8)
+- Scan parquet (1)
(1) Scan parquet
Output [1]: [PSEUDO_3336#105433]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/uet/PATIENT_3332]
ReadSchema: struct<PSEUDO_3336:string>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [PSEUDO_3336#105433]
(3) Project [codegen id : 1]
Output [1]: [PSEUDO_3336#105433 AS COL_PSEUDO_3336#105501]
Input [1]: [PSEUDO_3336#105433]
(4) SortAggregate
Input [1]: [COL_PSEUDO_3336#105501]
Keys: []
Functions [3]: [partial_count(COL_PSEUDO_3336#105501), partial_min(COL_PSEUDO_3336#105501), partial_max(COL_PSEUDO_3336#105501)]
Aggregate Attributes [3]: [count#105772L, min#105773, max#105774]
Results [3]: [count#105775L, min#105776, max#105777]
(5) Exchange
Input [3]: [count#105775L, min#105776, max#105777]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16280]
(6) ShuffleQueryStage
Output [3]: [count#105775L, min#105776, max#105777]
Arguments: 0
(7) SortAggregate
Input [3]: [count#105775L, min#105776, max#105777]
Keys: []
Functions [3]: [count(COL_PSEUDO_3336#105501), min(COL_PSEUDO_3336#105501), max(COL_PSEUDO_3336#105501)]
Aggregate Attributes [3]: [count(COL_PSEUDO_3336#105501)#105749L, min(COL_PSEUDO_3336#105501)#105752, max(COL_PSEUDO_3336#105501)#105754]
Results [3]: [count(COL_PSEUDO_3336#105501)#105749L AS COL_PSEUDO_3336_COUNT#105751L, min(COL_PSEUDO_3336#105501)#105752 AS COL_PSEUDO_3336_MIN#105753, max(COL_PSEUDO_3336#105501)#105754 AS COL_PSEUDO_3336_MAX#105755]
(8) Project
Output [1]: [PSEUDO_3336#105433 AS COL_PSEUDO_3336#105501]
Input [1]: [PSEUDO_3336#105433]
(9) SortAggregate
Input [1]: [COL_PSEUDO_3336#105501]
Keys: []
Functions [3]: [partial_count(COL_PSEUDO_3336#105501), partial_min(COL_PSEUDO_3336#105501), partial_max(COL_PSEUDO_3336#105501)]
Aggregate Attributes [3]: [count#105772L, min#105773, max#105774]
Results [3]: [count#105775L, min#105776, max#105777]
(10) Exchange
Input [3]: [count#105775L, min#105776, max#105777]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16263]
(11) SortAggregate
Input [3]: [count#105775L, min#105776, max#105777]
Keys: []
Functions [3]: [count(COL_PSEUDO_3336#105501), min(COL_PSEUDO_3336#105501), max(COL_PSEUDO_3336#105501)]
Aggregate Attributes [3]: [count(COL_PSEUDO_3336#105501)#105749L, min(COL_PSEUDO_3336#105501)#105752, max(COL_PSEUDO_3336#105501)#105754]
Results [3]: [count(COL_PSEUDO_3336#105501)#105749L AS COL_PSEUDO_3336_COUNT#105751L, min(COL_PSEUDO_3336#105501)#105752 AS COL_PSEUDO_3336_MIN#105753, max(COL_PSEUDO_3336#105501)#105754 AS COL_PSEUDO_3336_MAX#105755]
(12) AdaptiveSparkPlan
Output [3]: [COL_PSEUDO_3336_COUNT#105751L, COL_PSEUDO_3336_MIN#105753, COL_PSEUDO_3336_MAX#105755]
Arguments: isFinalPlan=true