== Physical Plan == AdaptiveSparkPlan (10) +- == Final Plan == * HashAggregate (6) +- ShuffleQueryStage (5), Statistics(sizeInBytes=16.0 B, rowCount=1) +- Exchange (4) +- * HashAggregate (3) +- * ColumnarToRow (2) +- Scan parquet (1) +- == Initial Plan == HashAggregate (9) +- Exchange (8) +- HashAggregate (7) +- Scan parquet (1) (1) Scan parquet Output: [] Batched: true Location: InMemoryFileIndex [file:/home/sdata/tomcat/webapps/storage_area/private/config/123456789/3979448040819712/asset/datafile/4206178030064640] ReadSchema: struct<> (2) ColumnarToRow [codegen id : 1] Input: [] (3) HashAggregate [codegen id : 1] Input: [] Keys: [] Functions [1]: [partial_count(1)] Aggregate Attributes [1]: [count#42804L] Results [1]: [count#42805L] (4) Exchange Input [1]: [count#42805L] Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=14349] (5) ShuffleQueryStage Output [1]: [count#42805L] Arguments: 0 (6) HashAggregate [codegen id : 2] Input [1]: [count#42805L] Keys: [] Functions [1]: [count(1)] Aggregate Attributes [1]: [count(1)#42801L] Results [1]: [count(1)#42801L AS count#42802L] (7) HashAggregate Input: [] Keys: [] Functions [1]: [partial_count(1)] Aggregate Attributes [1]: [count#42804L] Results [1]: [count#42805L] (8) Exchange Input [1]: [count#42805L] Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=14337] (9) HashAggregate Input [1]: [count#42805L] Keys: [] Functions [1]: [count(1)] Aggregate Attributes [1]: [count(1)#42801L] Results [1]: [count(1)#42801L AS count#42802L] (10) AdaptiveSparkPlan Output [1]: [count#42802L] Arguments: isFinalPlan=true