== 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]: [GENDER_3335#105429]
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#105429]
(3) Project [codegen id : 1]
Output [1]: [GENDER_3335#105429 AS COL_GENDER_3335#105500]
Input [1]: [GENDER_3335#105429]
(4) SortAggregate
Input [1]: [COL_GENDER_3335#105500]
Keys: []
Functions [3]: [partial_count(COL_GENDER_3335#105500), partial_min(COL_GENDER_3335#105500), partial_max(COL_GENDER_3335#105500)]
Aggregate Attributes [3]: [count#105733L, min#105734, max#105735]
Results [3]: [count#105736L, min#105737, max#105738]
(5) Exchange
Input [3]: [count#105736L, min#105737, max#105738]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16238]
(6) ShuffleQueryStage
Output [3]: [count#105736L, min#105737, max#105738]
Arguments: 0
(7) SortAggregate
Input [3]: [count#105736L, min#105737, max#105738]
Keys: []
Functions [3]: [count(COL_GENDER_3335#105500), min(COL_GENDER_3335#105500), max(COL_GENDER_3335#105500)]
Aggregate Attributes [3]: [count(COL_GENDER_3335#105500)#105710L, min(COL_GENDER_3335#105500)#105713, max(COL_GENDER_3335#105500)#105715]
Results [3]: [count(COL_GENDER_3335#105500)#105710L AS COL_GENDER_3335_COUNT#105712L, min(COL_GENDER_3335#105500)#105713 AS COL_GENDER_3335_MIN#105714, max(COL_GENDER_3335#105500)#105715 AS COL_GENDER_3335_MAX#105716]
(8) Project
Output [1]: [GENDER_3335#105429 AS COL_GENDER_3335#105500]
Input [1]: [GENDER_3335#105429]
(9) SortAggregate
Input [1]: [COL_GENDER_3335#105500]
Keys: []
Functions [3]: [partial_count(COL_GENDER_3335#105500), partial_min(COL_GENDER_3335#105500), partial_max(COL_GENDER_3335#105500)]
Aggregate Attributes [3]: [count#105733L, min#105734, max#105735]
Results [3]: [count#105736L, min#105737, max#105738]
(10) Exchange
Input [3]: [count#105736L, min#105737, max#105738]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=16221]
(11) SortAggregate
Input [3]: [count#105736L, min#105737, max#105738]
Keys: []
Functions [3]: [count(COL_GENDER_3335#105500), min(COL_GENDER_3335#105500), max(COL_GENDER_3335#105500)]
Aggregate Attributes [3]: [count(COL_GENDER_3335#105500)#105710L, min(COL_GENDER_3335#105500)#105713, max(COL_GENDER_3335#105500)#105715]
Results [3]: [count(COL_GENDER_3335#105500)#105710L AS COL_GENDER_3335_COUNT#105712L, min(COL_GENDER_3335#105500)#105713 AS COL_GENDER_3335_MIN#105714, max(COL_GENDER_3335#105500)#105715 AS COL_GENDER_3335_MAX#105716]
(12) AdaptiveSparkPlan
Output [3]: [COL_GENDER_3335_COUNT#105712L, COL_GENDER_3335_MIN#105714, COL_GENDER_3335_MAX#105716]
Arguments: isFinalPlan=true