You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/03/02 23:38:08 UTC

svn commit: r1451954 [24/27] - in /hive/branches/ptf-windowing: ./ cli/src/java/org/apache/hadoop/hive/cli/ common/src/java/conf/ common/src/java/org/apache/hadoop/hive/conf/ conf/ contrib/src/test/results/clientpositive/ data/conf/ data/files/ hbase-h...

Modified: hive/branches/ptf-windowing/ql/src/test/results/clientpositive/union_view.q.out
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/clientpositive/union_view.q.out?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/clientpositive/union_view.q.out (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/clientpositive/union_view.q.out Sat Mar  2 22:37:59 2013
@@ -597,21 +597,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -641,21 +632,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -685,21 +667,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 
   Stage: Stage-0
     Fetch Operator
@@ -781,21 +754,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -825,21 +789,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -869,21 +824,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 
   Stage: Stage-0
     Fetch Operator
@@ -965,21 +911,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -1009,21 +946,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -1053,21 +981,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 
   Stage: Stage-0
     Fetch Operator
@@ -1153,28 +1072,19 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
+                    Reduce Output Operator
+                      key expressions:
+                            expr: _col2
+                            type: string
+                      sort order: +
+                      tag: -1
+                      value expressions:
                             expr: _col0
                             type: int
                             expr: _col1
                             type: string
                             expr: _col2
                             type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      Reduce Output Operator
-                        key expressions:
-                              expr: _col2
-                              type: string
-                        sort order: +
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: int
-                              expr: _col1
-                              type: string
-                              expr: _col2
-                              type: string
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -1204,28 +1114,19 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
+                    Reduce Output Operator
+                      key expressions:
+                            expr: _col2
+                            type: string
+                      sort order: +
+                      tag: -1
+                      value expressions:
                             expr: _col0
                             type: int
                             expr: _col1
                             type: string
                             expr: _col2
                             type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      Reduce Output Operator
-                        key expressions:
-                              expr: _col2
-                              type: string
-                        sort order: +
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: int
-                              expr: _col1
-                              type: string
-                              expr: _col2
-                              type: string
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -1255,28 +1156,19 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
+                    Reduce Output Operator
+                      key expressions:
+                            expr: _col2
+                            type: string
+                      sort order: +
+                      tag: -1
+                      value expressions:
                             expr: _col0
                             type: int
                             expr: _col1
                             type: string
                             expr: _col2
                             type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      Reduce Output Operator
-                        key expressions:
-                              expr: _col2
-                              type: string
-                        sort order: +
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: int
-                              expr: _col1
-                              type: string
-                              expr: _col2
-                              type: string
       Reduce Operator Tree:
         Extract
           File Output Operator
@@ -1426,23 +1318,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1, _col2
               Union
                 Select Operator
-                  expressions:
-                        expr: _col2
-                        type: string
-                  outputColumnNames: _col2
-                  Select Operator
-                    Group By Operator
-                      aggregations:
-                            expr: count(1)
-                      bucketGroup: false
-                      mode: hash
-                      outputColumnNames: _col0
-                      Reduce Output Operator
-                        sort order: 
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: bigint
+                  Group By Operator
+                    aggregations:
+                          expr: count(1)
+                    bucketGroup: false
+                    mode: hash
+                    outputColumnNames: _col0
+                    Reduce Output Operator
+                      sort order: 
+                      tag: -1
+                      value expressions:
+                            expr: _col0
+                            type: bigint
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -1464,23 +1351,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -1502,23 +1384,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
       Reduce Operator Tree:
         Group By Operator
           aggregations:
@@ -1606,23 +1483,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -1640,23 +1512,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1, _col2
               Union
                 Select Operator
-                  expressions:
-                        expr: _col2
-                        type: string
-                  outputColumnNames: _col2
-                  Select Operator
-                    Group By Operator
-                      aggregations:
-                            expr: count(1)
-                      bucketGroup: false
-                      mode: hash
-                      outputColumnNames: _col0
-                      Reduce Output Operator
-                        sort order: 
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: bigint
+                  Group By Operator
+                    aggregations:
+                          expr: count(1)
+                    bucketGroup: false
+                    mode: hash
+                    outputColumnNames: _col0
+                    Reduce Output Operator
+                      sort order: 
+                      tag: -1
+                      value expressions:
+                            expr: _col0
+                            type: bigint
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -1678,23 +1545,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
       Reduce Operator Tree:
         Group By Operator
           aggregations:
@@ -1782,23 +1644,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -1820,23 +1677,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -1854,23 +1706,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1, _col2
               Union
                 Select Operator
-                  expressions:
-                        expr: _col2
-                        type: string
-                  outputColumnNames: _col2
-                  Select Operator
-                    Group By Operator
-                      aggregations:
-                            expr: count(1)
-                      bucketGroup: false
-                      mode: hash
-                      outputColumnNames: _col0
-                      Reduce Output Operator
-                        sort order: 
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: bigint
+                  Group By Operator
+                    aggregations:
+                          expr: count(1)
+                    bucketGroup: false
+                    mode: hash
+                    outputColumnNames: _col0
+                    Reduce Output Operator
+                      sort order: 
+                      tag: -1
+                      value expressions:
+                            expr: _col0
+                            type: bigint
       Reduce Operator Tree:
         Group By Operator
           aggregations:
@@ -1973,21 +1820,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -2017,21 +1855,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -2061,21 +1890,12 @@ STAGE PLANS:
                           expr: _col2
                           type: string
                     outputColumnNames: _col0, _col1, _col2
-                    Select Operator
-                      expressions:
-                            expr: _col0
-                            type: int
-                            expr: _col1
-                            type: string
-                            expr: _col2
-                            type: string
-                      outputColumnNames: _col0, _col1, _col2
-                      File Output Operator
-                        compressed: false
-                        GlobalTableId: 0
-                        table:
-                            input format: org.apache.hadoop.mapred.TextInputFormat
-                            output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
+                    File Output Operator
+                      compressed: false
+                      GlobalTableId: 0
+                      table:
+                          input format: org.apache.hadoop.mapred.TextInputFormat
+                          output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 
   Stage: Stage-0
     Fetch Operator
@@ -2146,23 +1966,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery1-subquery2:subq-subquery1-subquery2:src_union_2 
           TableScan
             alias: src_union_2
@@ -2184,23 +1999,18 @@ STAGE PLANS:
                 outputColumnNames: _col0, _col1, _col2
                 Union
                   Select Operator
-                    expressions:
-                          expr: _col2
-                          type: string
-                    outputColumnNames: _col2
-                    Select Operator
-                      Group By Operator
-                        aggregations:
-                              expr: count(1)
-                        bucketGroup: false
-                        mode: hash
-                        outputColumnNames: _col0
-                        Reduce Output Operator
-                          sort order: 
-                          tag: -1
-                          value expressions:
-                                expr: _col0
-                                type: bigint
+                    Group By Operator
+                      aggregations:
+                            expr: count(1)
+                      bucketGroup: false
+                      mode: hash
+                      outputColumnNames: _col0
+                      Reduce Output Operator
+                        sort order: 
+                        tag: -1
+                        value expressions:
+                              expr: _col0
+                              type: bigint
         src_union_view-subquery2:subq-subquery2:src_union_3 
           TableScan
             alias: src_union_3
@@ -2218,23 +2028,18 @@ STAGE PLANS:
               outputColumnNames: _col0, _col1, _col2
               Union
                 Select Operator
-                  expressions:
-                        expr: _col2
-                        type: string
-                  outputColumnNames: _col2
-                  Select Operator
-                    Group By Operator
-                      aggregations:
-                            expr: count(1)
-                      bucketGroup: false
-                      mode: hash
-                      outputColumnNames: _col0
-                      Reduce Output Operator
-                        sort order: 
-                        tag: -1
-                        value expressions:
-                              expr: _col0
-                              type: bigint
+                  Group By Operator
+                    aggregations:
+                          expr: count(1)
+                    bucketGroup: false
+                    mode: hash
+                    outputColumnNames: _col0
+                    Reduce Output Operator
+                      sort order: 
+                      tag: -1
+                      value expressions:
+                            expr: _col0
+                            type: bigint
       Reduce Operator Tree:
         Group By Operator
           aggregations:

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/missing_overwrite.q.out
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/missing_overwrite.q.out?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/missing_overwrite.q.out (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/missing_overwrite.q.out Sat Mar  2 22:37:59 2013
@@ -1 +1 @@
-Parse Error: line 2:0 cannot recognize input near 'INSERT' 'TABLE' 'dest1' in insert clause
+Parse Error: line 2:7 cannot recognize input near 'INSERT' 'TABLE' 'dest1' in table source

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/wrong_distinct2.q.out
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/wrong_distinct2.q.out?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/wrong_distinct2.q.out (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/errors/wrong_distinct2.q.out Sat Mar  2 22:37:59 2013
@@ -1 +1 @@
-Parse Error: line 2:45 cannot recognize input near 'DISTINCT' 'substr' '(' in select expression
+Parse Error: line 2:60 missing EOF at '(' near 'substr'

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/case_sensitivity.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/case_sensitivity.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/case_sensitivity.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/case_sensitivity.q.xml Sat Mar  2 22:37:59 2013
@@ -6,7 +6,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-10</string> 
+       <string>Stage-7</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList0" class="java.util.ArrayList"> 
@@ -21,7 +21,7 @@
                 <void method="add"> 
                  <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-5</string> 
+                   <string>Stage-2</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -49,7 +49,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-3</string> 
+               <string>Stage-0</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -66,7 +66,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-6</string> 
+                   <string>Stage-3</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork0" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -379,7 +379,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-9</string> 
+                   <string>Stage-6</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -393,7 +393,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-8</string> 
+                       <string>Stage-5</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork0"/> 
@@ -470,7 +470,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-7</string> 
+           <string>Stage-4</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork0"/> 
@@ -527,7 +527,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -729,6 +729,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc0"/> 
                       </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/cast1.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/cast1.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/cast1.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/cast1.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -184,6 +184,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                         <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby1.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby1.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby1.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby1.q.xml Sat Mar  2 22:37:59 2013
@@ -10,7 +10,7 @@
         <void method="add"> 
          <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
           <void property="id"> 
-           <string>Stage-5</string> 
+           <string>Stage-2</string> 
           </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
@@ -38,7 +38,7 @@
        </object> 
       </void> 
       <void property="id"> 
-       <string>Stage-3</string> 
+       <string>Stage-0</string> 
       </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
@@ -155,7 +155,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1231,6 +1231,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object idref="TableDesc0"/> 
                 </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby2.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby2.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby2.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby2.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1321,6 +1321,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                   <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby3.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby3.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby3.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby3.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1520,6 +1520,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                   <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby4.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby4.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby4.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby4.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -970,6 +970,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                   <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby5.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby5.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby5.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby5.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1063,6 +1063,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                   <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby6.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby6.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby6.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/groupby6.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -970,6 +970,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                   <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input1.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input1.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input1.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input1.q.xml Sat Mar  2 22:37:59 2013
@@ -6,7 +6,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-10</string> 
+       <string>Stage-7</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList0" class="java.util.ArrayList"> 
@@ -21,7 +21,7 @@
                 <void method="add"> 
                  <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-5</string> 
+                   <string>Stage-2</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -49,7 +49,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-3</string> 
+               <string>Stage-0</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -66,7 +66,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-6</string> 
+                   <string>Stage-3</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork0" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -379,7 +379,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-9</string> 
+                   <string>Stage-6</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -393,7 +393,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-8</string> 
+                       <string>Stage-5</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork0"/> 
@@ -470,7 +470,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-7</string> 
+           <string>Stage-4</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork0"/> 
@@ -527,7 +527,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -721,6 +721,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc0"/> 
                       </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input2.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input2.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input2.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input2.q.xml Sat Mar  2 22:37:59 2013
@@ -6,7 +6,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-12</string> 
+       <string>Stage-9</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList0" class="java.util.ArrayList"> 
@@ -21,7 +21,7 @@
                 <void method="add"> 
                  <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-7</string> 
+                   <string>Stage-4</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -49,7 +49,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-3</string> 
+               <string>Stage-0</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -66,7 +66,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-8</string> 
+                   <string>Stage-5</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork0" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -379,7 +379,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-11</string> 
+                   <string>Stage-8</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -393,7 +393,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-10</string> 
+                       <string>Stage-7</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork0"/> 
@@ -470,7 +470,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-9</string> 
+           <string>Stage-6</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork0"/> 
@@ -527,7 +527,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-18</string> 
+       <string>Stage-15</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList1" class="java.util.ArrayList"> 
@@ -542,7 +542,7 @@
                 <void method="add"> 
                  <object id="StatsTask1" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-13</string> 
+                   <string>Stage-10</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -570,7 +570,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-4</string> 
+               <string>Stage-1</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -587,7 +587,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-14</string> 
+                   <string>Stage-11</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork1" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -896,7 +896,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-17</string> 
+                   <string>Stage-14</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -910,7 +910,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-16</string> 
+                       <string>Stage-13</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork1"/> 
@@ -987,7 +987,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-15</string> 
+           <string>Stage-12</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork1"/> 
@@ -1044,7 +1044,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-24</string> 
+       <string>Stage-21</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList2" class="java.util.ArrayList"> 
@@ -1059,7 +1059,7 @@
                 <void method="add"> 
                  <object id="StatsTask2" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-19</string> 
+                   <string>Stage-16</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -1087,7 +1087,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-5</string> 
+               <string>Stage-2</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -1104,7 +1104,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-20</string> 
+                   <string>Stage-17</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork2" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1417,7 +1417,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-23</string> 
+                   <string>Stage-20</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -1431,7 +1431,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-22</string> 
+                       <string>Stage-19</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork2"/> 
@@ -1517,7 +1517,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-21</string> 
+           <string>Stage-18</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork2"/> 
@@ -1574,7 +1574,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-6</string> 
+   <string>Stage-3</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1768,6 +1768,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc0"/> 
                       </void> 
@@ -2076,6 +2079,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc1"/> 
                       </void> 
@@ -2407,6 +2413,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc2"/> 
                       </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input20.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input20.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input20.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input20.q.xml Sat Mar  2 22:37:59 2013
@@ -2,7 +2,7 @@
 #### A masked pattern was here #### 
  <object class="org.apache.hadoop.hive.ql.exec.MapRedTask"> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1082,6 +1082,9 @@
                     <void property="statsAggPrefix"> 
                      #### A masked pattern was here #### 
                     </void> 
+                    <void property="statsCollectRawDataSize"> 
+                     <boolean>true</boolean> 
+                    </void> 
                     <void property="tableInfo"> 
                      <object class="org.apache.hadoop.hive.ql.plan.TableDesc"> 
                       <void property="deserializerClass"> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input3.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input3.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input3.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input3.q.xml Sat Mar  2 22:37:59 2013
@@ -6,7 +6,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-13</string> 
+       <string>Stage-10</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList0" class="java.util.ArrayList"> 
@@ -21,7 +21,7 @@
                 <void method="add"> 
                  <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-8</string> 
+                   <string>Stage-5</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -49,7 +49,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-3</string> 
+               <string>Stage-0</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -66,7 +66,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-9</string> 
+                   <string>Stage-6</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork0" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -379,7 +379,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-12</string> 
+                   <string>Stage-9</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -393,7 +393,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-11</string> 
+                       <string>Stage-8</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork0"/> 
@@ -470,7 +470,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-10</string> 
+           <string>Stage-7</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork0"/> 
@@ -527,7 +527,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-19</string> 
+       <string>Stage-16</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList1" class="java.util.ArrayList"> 
@@ -542,7 +542,7 @@
                 <void method="add"> 
                  <object id="StatsTask1" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-14</string> 
+                   <string>Stage-11</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -570,7 +570,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-4</string> 
+               <string>Stage-1</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -587,7 +587,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-15</string> 
+                   <string>Stage-12</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork1" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -896,7 +896,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-18</string> 
+                   <string>Stage-15</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -910,7 +910,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-17</string> 
+                       <string>Stage-14</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork1"/> 
@@ -987,7 +987,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-16</string> 
+           <string>Stage-13</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork1"/> 
@@ -1044,7 +1044,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-25</string> 
+       <string>Stage-22</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList2" class="java.util.ArrayList"> 
@@ -1059,7 +1059,7 @@
                 <void method="add"> 
                  <object id="StatsTask2" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-20</string> 
+                   <string>Stage-17</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -1087,7 +1087,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-5</string> 
+               <string>Stage-2</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -1104,7 +1104,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-21</string> 
+                   <string>Stage-18</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork2" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1417,7 +1417,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-24</string> 
+                   <string>Stage-21</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -1431,7 +1431,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-23</string> 
+                       <string>Stage-20</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork2"/> 
@@ -1517,7 +1517,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-22</string> 
+           <string>Stage-19</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork2"/> 
@@ -1574,7 +1574,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-30</string> 
+       <string>Stage-27</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList3" class="java.util.ArrayList"> 
@@ -1585,7 +1585,7 @@
             <void method="add"> 
              <object id="MoveTask10" class="org.apache.hadoop.hive.ql.exec.MoveTask"> 
               <void property="id"> 
-               <string>Stage-6</string> 
+               <string>Stage-3</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -1602,7 +1602,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-26</string> 
+                   <string>Stage-23</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork3" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1825,7 +1825,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-29</string> 
+                   <string>Stage-26</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -1839,7 +1839,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-28</string> 
+                       <string>Stage-25</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork3"/> 
@@ -1897,7 +1897,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-27</string> 
+           <string>Stage-24</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork3"/> 
@@ -1951,7 +1951,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-7</string> 
+   <string>Stage-4</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -2145,6 +2145,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc0"/> 
                       </void> 
@@ -2453,6 +2456,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc1"/> 
                       </void> 
@@ -2784,6 +2790,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc2"/> 
                       </void> 
@@ -3098,6 +3107,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc3"/> 
                       </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input4.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input4.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input4.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input4.q.xml Sat Mar  2 22:37:59 2013
@@ -10,7 +10,7 @@
         <void method="add"> 
          <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
           <void property="id"> 
-           <string>Stage-5</string> 
+           <string>Stage-2</string> 
           </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
@@ -38,7 +38,7 @@
        </object> 
       </void> 
       <void property="id"> 
-       <string>Stage-3</string> 
+       <string>Stage-0</string> 
       </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
@@ -155,7 +155,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1243,6 +1243,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object idref="TableDesc0"/> 
                 </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input5.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input5.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input5.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input5.q.xml Sat Mar  2 22:37:59 2013
@@ -10,7 +10,7 @@
         <void method="add"> 
          <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
           <void property="id"> 
-           <string>Stage-5</string> 
+           <string>Stage-2</string> 
           </void> 
           <void property="parentTasks"> 
            <object class="java.util.ArrayList"> 
@@ -38,7 +38,7 @@
        </object> 
       </void> 
       <void property="id"> 
-       <string>Stage-3</string> 
+       <string>Stage-0</string> 
       </void> 
       <void property="parentTasks"> 
        <object class="java.util.ArrayList"> 
@@ -155,7 +155,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -1281,6 +1281,9 @@
                 <void property="statsAggPrefix"> 
                  #### A masked pattern was here #### 
                 </void> 
+                <void property="statsCollectRawDataSize"> 
+                 <boolean>true</boolean> 
+                </void> 
                 <void property="tableInfo"> 
                  <object idref="TableDesc0"/> 
                 </void> 

Modified: hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input6.q.xml
URL: http://svn.apache.org/viewvc/hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input6.q.xml?rev=1451954&r1=1451953&r2=1451954&view=diff
==============================================================================
--- hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input6.q.xml (original)
+++ hive/branches/ptf-windowing/ql/src/test/results/compiler/plan/input6.q.xml Sat Mar  2 22:37:59 2013
@@ -6,7 +6,7 @@
     <void method="add"> 
      <object class="org.apache.hadoop.hive.ql.exec.ConditionalTask"> 
       <void property="id"> 
-       <string>Stage-10</string> 
+       <string>Stage-7</string> 
       </void> 
       <void property="listTasks"> 
        <object id="ArrayList0" class="java.util.ArrayList"> 
@@ -21,7 +21,7 @@
                 <void method="add"> 
                  <object id="StatsTask0" class="org.apache.hadoop.hive.ql.exec.StatsTask"> 
                   <void property="id"> 
-                   <string>Stage-5</string> 
+                   <string>Stage-2</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -49,7 +49,7 @@
                </object> 
               </void> 
               <void property="id"> 
-               <string>Stage-3</string> 
+               <string>Stage-0</string> 
               </void> 
               <void property="parentTasks"> 
                <object class="java.util.ArrayList"> 
@@ -66,7 +66,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-6</string> 
+                   <string>Stage-3</string> 
                   </void> 
                   <void property="work"> 
                    <object id="MapredWork0" class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -379,7 +379,7 @@
                    </object> 
                   </void> 
                   <void property="id"> 
-                   <string>Stage-9</string> 
+                   <string>Stage-6</string> 
                   </void> 
                   <void property="parentTasks"> 
                    <object class="java.util.ArrayList"> 
@@ -393,7 +393,7 @@
                        </object> 
                       </void> 
                       <void property="id"> 
-                       <string>Stage-8</string> 
+                       <string>Stage-5</string> 
                       </void> 
                       <void property="work"> 
                        <object idref="MapredWork0"/> 
@@ -470,7 +470,7 @@
            </object> 
           </void> 
           <void property="id"> 
-           <string>Stage-7</string> 
+           <string>Stage-4</string> 
           </void> 
           <void property="work"> 
            <object idref="MoveWork0"/> 
@@ -527,7 +527,7 @@
    </object> 
   </void> 
   <void property="id"> 
-   <string>Stage-4</string> 
+   <string>Stage-1</string> 
   </void> 
   <void property="work"> 
    <object class="org.apache.hadoop.hive.ql.plan.MapredWork"> 
@@ -721,6 +721,9 @@
                       <void property="statsAggPrefix"> 
                        #### A masked pattern was here #### 
                       </void> 
+                      <void property="statsCollectRawDataSize"> 
+                       <boolean>true</boolean> 
+                      </void> 
                       <void property="tableInfo"> 
                        <object idref="TableDesc0"/> 
                       </void>