== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
* HashAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=32.0 B, rowCount=1)
+- Exchange (5)
+- * HashAggregate (4)
+- * Project (3)
+- * ColumnarToRow (2)
+- Scan parquet (1)
+- == Initial Plan ==
HashAggregate (11)
+- Exchange (10)
+- HashAggregate (9)
+- Project (8)
+- Scan parquet (1)
(1) Scan parquet
Output [1]: [INHOSPITAL_DEAT_3337#105430]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/uet/PATIENT_3332]
ReadSchema: struct<INHOSPITAL_DEAT_3337:timestamp>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [INHOSPITAL_DEAT_3337#105430]
(3) Project [codegen id : 1]
Output [1]: [INHOSPITAL_DEAT_3337#105430 AS COL_INHOSPITAL_DEAT_3337#105502]
Input [1]: [INHOSPITAL_DEAT_3337#105430]
(4) HashAggregate [codegen id : 1]
Input [1]: [COL_INHOSPITAL_DEAT_3337#105502]
Keys: []
Functions [3]: [partial_count(COL_INHOSPITAL_DEAT_3337#105502), partial_min(COL_INHOSPITAL_DEAT_3337#105502), partial_max(COL_INHOSPITAL_DEAT_3337#105502)]
Aggregate Attributes [3]: [count#105811L, min#105812, max#105813]
Results [3]: [count#105814L, min#105815, max#105816]
(5) Exchange
Input [3]: [count#105814L, min#105815, max#105816]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16322]
(6) ShuffleQueryStage
Output [3]: [count#105814L, min#105815, max#105816]
Arguments: 0
(7) HashAggregate [codegen id : 2]
Input [3]: [count#105814L, min#105815, max#105816]
Keys: []
Functions [3]: [count(COL_INHOSPITAL_DEAT_3337#105502), min(COL_INHOSPITAL_DEAT_3337#105502), max(COL_INHOSPITAL_DEAT_3337#105502)]
Aggregate Attributes [3]: [count(COL_INHOSPITAL_DEAT_3337#105502)#105788L, min(COL_INHOSPITAL_DEAT_3337#105502)#105791, max(COL_INHOSPITAL_DEAT_3337#105502)#105793]
Results [3]: [count(COL_INHOSPITAL_DEAT_3337#105502)#105788L AS COL_INHOSPITAL_DEAT_3337_COUNT#105790L, min(COL_INHOSPITAL_DEAT_3337#105502)#105791 AS COL_INHOSPITAL_DEAT_3337_MIN#105792, max(COL_INHOSPITAL_DEAT_3337#105502)#105793 AS COL_INHOSPITAL_DEAT_3337_MAX#105794]
(8) Project
Output [1]: [INHOSPITAL_DEAT_3337#105430 AS COL_INHOSPITAL_DEAT_3337#105502]
Input [1]: [INHOSPITAL_DEAT_3337#105430]
(9) HashAggregate
Input [1]: [COL_INHOSPITAL_DEAT_3337#105502]
Keys: []
Functions [3]: [partial_count(COL_INHOSPITAL_DEAT_3337#105502), partial_min(COL_INHOSPITAL_DEAT_3337#105502), partial_max(COL_INHOSPITAL_DEAT_3337#105502)]
Aggregate Attributes [3]: [count#105811L, min#105812, max#105813]
Results [3]: [count#105814L, min#105815, max#105816]
(10) Exchange
Input [3]: [count#105814L, min#105815, max#105816]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16305]
(11) HashAggregate
Input [3]: [count#105814L, min#105815, max#105816]
Keys: []
Functions [3]: [count(COL_INHOSPITAL_DEAT_3337#105502), min(COL_INHOSPITAL_DEAT_3337#105502), max(COL_INHOSPITAL_DEAT_3337#105502)]
Aggregate Attributes [3]: [count(COL_INHOSPITAL_DEAT_3337#105502)#105788L, min(COL_INHOSPITAL_DEAT_3337#105502)#105791, max(COL_INHOSPITAL_DEAT_3337#105502)#105793]
Results [3]: [count(COL_INHOSPITAL_DEAT_3337#105502)#105788L AS COL_INHOSPITAL_DEAT_3337_COUNT#105790L, min(COL_INHOSPITAL_DEAT_3337#105502)#105791 AS COL_INHOSPITAL_DEAT_3337_MIN#105792, max(COL_INHOSPITAL_DEAT_3337#105502)#105793 AS COL_INHOSPITAL_DEAT_3337_MAX#105794]
(12) AdaptiveSparkPlan
Output [3]: [COL_INHOSPITAL_DEAT_3337_COUNT#105790L, COL_INHOSPITAL_DEAT_3337_MIN#105792, COL_INHOSPITAL_DEAT_3337_MAX#105794]
Arguments: isFinalPlan=true