== Physical Plan ==
AdaptiveSparkPlan (12)
+- == Final Plan ==
SortAggregate (7)
+- ShuffleQueryStage (6), Statistics(sizeInBytes=56.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]: [GENDER_3335#105120]
Batched: true
Location: InMemoryFileIndex [file:/data/output/cache/parquet/uet/PATIENT_3332]
ReadSchema: struct<GENDER_3335:string>
(2) ColumnarToRow [codegen id : 1]
Input [1]: [GENDER_3335#105120]
(3) Project [codegen id : 1]
Output [1]: [GENDER_3335#105120 AS COL_GENDER_3335#105167]
Input [1]: [GENDER_3335#105120]
(4) SortAggregate
Input [1]: [COL_GENDER_3335#105167]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL_GENDER_3335#105167), partial_min(COL_GENDER_3335#105167), partial_max(COL_GENDER_3335#105167)]
Aggregate Attributes [4]: [count#105209L, count#105210L, min#105211, max#105212]
Results [4]: [count#105213L, count#105214L, min#105215, max#105216]
(5) Exchange
Input [4]: [count#105213L, count#105214L, min#105215, max#105216]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=15887]
(6) ShuffleQueryStage
Output [4]: [count#105213L, count#105214L, min#105215, max#105216]
Arguments: 0
(7) SortAggregate
Input [4]: [count#105213L, count#105214L, min#105215, max#105216]
Keys: []
Functions [4]: [count(1), count(COL_GENDER_3335#105167), min(COL_GENDER_3335#105167), max(COL_GENDER_3335#105167)]
Aggregate Attributes [4]: [count(1)#105181L, count(COL_GENDER_3335#105167)#105184L, min(COL_GENDER_3335#105167)#105187, max(COL_GENDER_3335#105167)#105189]
Results [4]: [count(1)#105181L AS COL_GENDER_33351#105183L, count(COL_GENDER_3335#105167)#105184L AS COL_GENDER_33352#105186L, min(COL_GENDER_3335#105167)#105187 AS COL_GENDER_33354#105188, max(COL_GENDER_3335#105167)#105189 AS COL_GENDER_33355#105190]
(8) Project
Output [1]: [GENDER_3335#105120 AS COL_GENDER_3335#105167]
Input [1]: [GENDER_3335#105120]
(9) SortAggregate
Input [1]: [COL_GENDER_3335#105167]
Keys: []
Functions [4]: [partial_count(1), partial_count(COL_GENDER_3335#105167), partial_min(COL_GENDER_3335#105167), partial_max(COL_GENDER_3335#105167)]
Aggregate Attributes [4]: [count#105209L, count#105210L, min#105211, max#105212]
Results [4]: [count#105213L, count#105214L, min#105215, max#105216]
(10) Exchange
Input [4]: [count#105213L, count#105214L, min#105215, max#105216]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=15870]
(11) SortAggregate
Input [4]: [count#105213L, count#105214L, min#105215, max#105216]
Keys: []
Functions [4]: [count(1), count(COL_GENDER_3335#105167), min(COL_GENDER_3335#105167), max(COL_GENDER_3335#105167)]
Aggregate Attributes [4]: [count(1)#105181L, count(COL_GENDER_3335#105167)#105184L, min(COL_GENDER_3335#105167)#105187, max(COL_GENDER_3335#105167)#105189]
Results [4]: [count(1)#105181L AS COL_GENDER_33351#105183L, count(COL_GENDER_3335#105167)#105184L AS COL_GENDER_33352#105186L, min(COL_GENDER_3335#105167)#105187 AS COL_GENDER_33354#105188, max(COL_GENDER_3335#105167)#105189 AS COL_GENDER_33355#105190]
(12) AdaptiveSparkPlan
Output [4]: [COL_GENDER_33351#105183L, COL_GENDER_33352#105186L, COL_GENDER_33354#105188, COL_GENDER_33355#105190]
Arguments: isFinalPlan=true