@@ -567,36 +567,137 @@ POSTHOOK: Output: default@stats_part@p=104
567
567
PREHOOK: query: explain select count(key) from stats_part where p = 101
568
568
PREHOOK: type: QUERY
569
569
PREHOOK: Input: default@stats_part
570
+ PREHOOK: Input: default@stats_part@p=101
570
571
#### A masked pattern was here ####
571
572
POSTHOOK: query: explain select count(key) from stats_part where p = 101
572
573
POSTHOOK: type: QUERY
573
574
POSTHOOK: Input: default@stats_part
575
+ POSTHOOK: Input: default@stats_part@p=101
574
576
#### A masked pattern was here ####
575
577
STAGE DEPENDENCIES:
576
- Stage-0 is a root stage
578
+ Stage-1 is a root stage
579
+ Stage-0 depends on stages: Stage-1
577
580
578
581
STAGE PLANS:
582
+ Stage: Stage-1
583
+ Tez
584
+ #### A masked pattern was here ####
585
+ Edges:
586
+ Reducer 2 <- Map 1 (CUSTOM_SIMPLE_EDGE)
587
+ #### A masked pattern was here ####
588
+ Vertices:
589
+ Map 1
590
+ Map Operator Tree:
591
+ TableScan
592
+ alias: stats_part
593
+ filterExpr: (p = 101) (type: boolean)
594
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE
595
+ Select Operator
596
+ expressions: key (type: int)
597
+ outputColumnNames: key
598
+ Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE Column stats: COMPLETE
599
+ Group By Operator
600
+ aggregations: count(key)
601
+ minReductionHashAggr: 0.4
602
+ mode: hash
603
+ outputColumnNames: _col0
604
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
605
+ Reduce Output Operator
606
+ null sort order:
607
+ sort order:
608
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
609
+ value expressions: _col0 (type: bigint)
610
+ Execution mode: vectorized, llap
611
+ LLAP IO: may be used (ACID table)
612
+ Reducer 2
613
+ Execution mode: vectorized, llap
614
+ Reduce Operator Tree:
615
+ Group By Operator
616
+ aggregations: count(VALUE._col0)
617
+ mode: mergepartial
618
+ outputColumnNames: _col0
619
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
620
+ File Output Operator
621
+ compressed: false
622
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
623
+ table:
624
+ input format: org.apache.hadoop.mapred.SequenceFileInputFormat
625
+ output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
626
+ serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
627
+
579
628
Stage: Stage-0
580
629
Fetch Operator
581
- limit: 1
630
+ limit: - 1
582
631
Processor Tree:
583
632
ListSink
584
633
585
634
PREHOOK: query: explain select count(key) from stats_part
586
635
PREHOOK: type: QUERY
587
636
PREHOOK: Input: default@stats_part
637
+ PREHOOK: Input: default@stats_part@p=101
638
+ PREHOOK: Input: default@stats_part@p=103
639
+ PREHOOK: Input: default@stats_part@p=104
588
640
#### A masked pattern was here ####
589
641
POSTHOOK: query: explain select count(key) from stats_part
590
642
POSTHOOK: type: QUERY
591
643
POSTHOOK: Input: default@stats_part
644
+ POSTHOOK: Input: default@stats_part@p=101
645
+ POSTHOOK: Input: default@stats_part@p=103
646
+ POSTHOOK: Input: default@stats_part@p=104
592
647
#### A masked pattern was here ####
593
648
STAGE DEPENDENCIES:
594
- Stage-0 is a root stage
649
+ Stage-1 is a root stage
650
+ Stage-0 depends on stages: Stage-1
595
651
596
652
STAGE PLANS:
653
+ Stage: Stage-1
654
+ Tez
655
+ #### A masked pattern was here ####
656
+ Edges:
657
+ Reducer 2 <- Map 1 (CUSTOM_SIMPLE_EDGE)
658
+ #### A masked pattern was here ####
659
+ Vertices:
660
+ Map 1
661
+ Map Operator Tree:
662
+ TableScan
663
+ alias: stats_part
664
+ Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: COMPLETE
665
+ Select Operator
666
+ expressions: key (type: int)
667
+ outputColumnNames: key
668
+ Statistics: Num rows: 3 Data size: 12 Basic stats: COMPLETE Column stats: COMPLETE
669
+ Group By Operator
670
+ aggregations: count(key)
671
+ minReductionHashAggr: 0.6666666
672
+ mode: hash
673
+ outputColumnNames: _col0
674
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
675
+ Reduce Output Operator
676
+ null sort order:
677
+ sort order:
678
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
679
+ value expressions: _col0 (type: bigint)
680
+ Execution mode: vectorized, llap
681
+ LLAP IO: may be used (ACID table)
682
+ Reducer 2
683
+ Execution mode: vectorized, llap
684
+ Reduce Operator Tree:
685
+ Group By Operator
686
+ aggregations: count(VALUE._col0)
687
+ mode: mergepartial
688
+ outputColumnNames: _col0
689
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
690
+ File Output Operator
691
+ compressed: false
692
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
693
+ table:
694
+ input format: org.apache.hadoop.mapred.SequenceFileInputFormat
695
+ output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
696
+ serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
697
+
597
698
Stage: Stage-0
598
699
Fetch Operator
599
- limit: 1
700
+ limit: - 1
600
701
Processor Tree:
601
702
ListSink
602
703
@@ -721,18 +822,70 @@ STAGE PLANS:
721
822
PREHOOK: query: explain select count(value) from stats_part
722
823
PREHOOK: type: QUERY
723
824
PREHOOK: Input: default@stats_part
825
+ PREHOOK: Input: default@stats_part@p=101
826
+ PREHOOK: Input: default@stats_part@p=103
827
+ PREHOOK: Input: default@stats_part@p=104
724
828
#### A masked pattern was here ####
725
829
POSTHOOK: query: explain select count(value) from stats_part
726
830
POSTHOOK: type: QUERY
727
831
POSTHOOK: Input: default@stats_part
832
+ POSTHOOK: Input: default@stats_part@p=101
833
+ POSTHOOK: Input: default@stats_part@p=103
834
+ POSTHOOK: Input: default@stats_part@p=104
728
835
#### A masked pattern was here ####
729
836
STAGE DEPENDENCIES:
730
- Stage-0 is a root stage
837
+ Stage-1 is a root stage
838
+ Stage-0 depends on stages: Stage-1
731
839
732
840
STAGE PLANS:
841
+ Stage: Stage-1
842
+ Tez
843
+ #### A masked pattern was here ####
844
+ Edges:
845
+ Reducer 2 <- Map 1 (CUSTOM_SIMPLE_EDGE)
846
+ #### A masked pattern was here ####
847
+ Vertices:
848
+ Map 1
849
+ Map Operator Tree:
850
+ TableScan
851
+ alias: stats_part
852
+ Statistics: Num rows: 3 Data size: 261 Basic stats: COMPLETE Column stats: COMPLETE
853
+ Select Operator
854
+ expressions: value (type: string)
855
+ outputColumnNames: value
856
+ Statistics: Num rows: 3 Data size: 261 Basic stats: COMPLETE Column stats: COMPLETE
857
+ Group By Operator
858
+ aggregations: count(value)
859
+ minReductionHashAggr: 0.6666666
860
+ mode: hash
861
+ outputColumnNames: _col0
862
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
863
+ Reduce Output Operator
864
+ null sort order:
865
+ sort order:
866
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
867
+ value expressions: _col0 (type: bigint)
868
+ Execution mode: llap
869
+ LLAP IO: may be used (ACID table)
870
+ Reducer 2
871
+ Execution mode: vectorized, llap
872
+ Reduce Operator Tree:
873
+ Group By Operator
874
+ aggregations: count(VALUE._col0)
875
+ mode: mergepartial
876
+ outputColumnNames: _col0
877
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
878
+ File Output Operator
879
+ compressed: false
880
+ Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
881
+ table:
882
+ input format: org.apache.hadoop.mapred.SequenceFileInputFormat
883
+ output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
884
+ serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
885
+
733
886
Stage: Stage-0
734
887
Fetch Operator
735
- limit: 1
888
+ limit: - 1
736
889
Processor Tree:
737
890
ListSink
738
891
0 commit comments