== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
SortAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=48.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]: [INHOSPITAL_DEAT_3338#105431]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/uet/PATIENT_3332]
ReadSchema: struct<INHOSPITAL_DEAT_3338:string>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [INHOSPITAL_DEAT_3338#105431]
(3) Project [codegen id : 1]
Output [1]: [INHOSPITAL_DEAT_3338#105431 AS COL_INHOSPITAL_DEAT_3338#105503]
Input [1]: [INHOSPITAL_DEAT_3338#105431]
(4) SortAggregate
Input [1]: [COL_INHOSPITAL_DEAT_3338#105503]
Keys: []
Functions [3]: [partial_count(COL_INHOSPITAL_DEAT_3338#105503), partial_min(COL_INHOSPITAL_DEAT_3338#105503), partial_max(COL_INHOSPITAL_DEAT_3338#105503)]
Aggregate Attributes [3]: [count#105850L, min#105851, max#105852]
Results [3]: [count#105853L, min#105854, max#105855]
(5) Exchange
Input [3]: [count#105853L, min#105854, max#105855]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16367]
(6) ShuffleQueryStage
Output [3]: [count#105853L, min#105854, max#105855]
Arguments: 0
(7) SortAggregate
Input [3]: [count#105853L, min#105854, max#105855]
Keys: []
Functions [3]: [count(COL_INHOSPITAL_DEAT_3338#105503), min(COL_INHOSPITAL_DEAT_3338#105503), max(COL_INHOSPITAL_DEAT_3338#105503)]
Aggregate Attributes [3]: [count(COL_INHOSPITAL_DEAT_3338#105503)#105827L, min(COL_INHOSPITAL_DEAT_3338#105503)#105830, max(COL_INHOSPITAL_DEAT_3338#105503)#105832]
Results [3]: [count(COL_INHOSPITAL_DEAT_3338#105503)#105827L AS COL_INHOSPITAL_DEAT_3338_COUNT#105829L, min(COL_INHOSPITAL_DEAT_3338#105503)#105830 AS COL_INHOSPITAL_DEAT_3338_MIN#105831, max(COL_INHOSPITAL_DEAT_3338#105503)#105832 AS COL_INHOSPITAL_DEAT_3338_MAX#105833]
(8) Project
Output [1]: [INHOSPITAL_DEAT_3338#105431 AS COL_INHOSPITAL_DEAT_3338#105503]
Input [1]: [INHOSPITAL_DEAT_3338#105431]
(9) SortAggregate
Input [1]: [COL_INHOSPITAL_DEAT_3338#105503]
Keys: []
Functions [3]: [partial_count(COL_INHOSPITAL_DEAT_3338#105503), partial_min(COL_INHOSPITAL_DEAT_3338#105503), partial_max(COL_INHOSPITAL_DEAT_3338#105503)]
Aggregate Attributes [3]: [count#105850L, min#105851, max#105852]
Results [3]: [count#105853L, min#105854, max#105855]
(10) Exchange
Input [3]: [count#105853L, min#105854, max#105855]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16350]
(11) SortAggregate
Input [3]: [count#105853L, min#105854, max#105855]
Keys: []
Functions [3]: [count(COL_INHOSPITAL_DEAT_3338#105503), min(COL_INHOSPITAL_DEAT_3338#105503), max(COL_INHOSPITAL_DEAT_3338#105503)]
Aggregate Attributes [3]: [count(COL_INHOSPITAL_DEAT_3338#105503)#105827L, min(COL_INHOSPITAL_DEAT_3338#105503)#105830, max(COL_INHOSPITAL_DEAT_3338#105503)#105832]
Results [3]: [count(COL_INHOSPITAL_DEAT_3338#105503)#105827L AS COL_INHOSPITAL_DEAT_3338_COUNT#105829L, min(COL_INHOSPITAL_DEAT_3338#105503)#105830 AS COL_INHOSPITAL_DEAT_3338_MIN#105831, max(COL_INHOSPITAL_DEAT_3338#105503)#105832 AS COL_INHOSPITAL_DEAT_3338_MAX#105833]
(12) AdaptiveSparkPlan
Output [3]: [COL_INHOSPITAL_DEAT_3338_COUNT#105829L, COL_INHOSPITAL_DEAT_3338_MIN#105831, COL_INHOSPITAL_DEAT_3338_MAX#105833]
Arguments: isFinalPlan=true