hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [13/15] hive git commit: HIVE-12047 : LLAP: merge master into branch (Sergey Shelukhin)
Date Tue, 06 Oct 2015 17:51:19 GMT
http://git-wip-us.apache.org/repos/asf/hive/blob/b87f63ca/ql/src/test/results/clientpositive/orc_llap.q.out
----------------------------------------------------------------------
diff --cc ql/src/test/results/clientpositive/orc_llap.q.out
index b93771f,0000000..79c6281
mode 100644,000000..100644
--- a/ql/src/test/results/clientpositive/orc_llap.q.out
+++ b/ql/src/test/results/clientpositive/orc_llap.q.out
@@@ -1,1095 -1,0 +1,1095 @@@
 +PREHOOK: query: DROP TABLE cross_numbers
 +PREHOOK: type: DROPTABLE
 +POSTHOOK: query: DROP TABLE cross_numbers
 +POSTHOOK: type: DROPTABLE
 +PREHOOK: query: DROP TABLE orc_llap
 +PREHOOK: type: DROPTABLE
 +POSTHOOK: query: DROP TABLE orc_llap
 +POSTHOOK: type: DROPTABLE
 +PREHOOK: query: DROP TABLE orc_llap_small
 +PREHOOK: type: DROPTABLE
 +POSTHOOK: query: DROP TABLE orc_llap_small
 +POSTHOOK: type: DROPTABLE
 +PREHOOK: query: CREATE TABLE orc_llap(
 +    ctinyint TINYINT,
 +    csmallint SMALLINT,
 +    cint INT,
 +    cbigint BIGINT,
 +    cfloat FLOAT,
 +    cdouble DOUBLE,
 +    cstring1 STRING,
 +    cstring2 STRING,
 +    ctimestamp1 TIMESTAMP,
 +    ctimestamp2 TIMESTAMP,
 +    cboolean1 BOOLEAN,
 +    cboolean2 BOOLEAN)
 +    STORED AS ORC
 +PREHOOK: type: CREATETABLE
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@orc_llap
 +POSTHOOK: query: CREATE TABLE orc_llap(
 +    ctinyint TINYINT,
 +    csmallint SMALLINT,
 +    cint INT,
 +    cbigint BIGINT,
 +    cfloat FLOAT,
 +    cdouble DOUBLE,
 +    cstring1 STRING,
 +    cstring2 STRING,
 +    ctimestamp1 TIMESTAMP,
 +    ctimestamp2 TIMESTAMP,
 +    cboolean1 BOOLEAN,
 +    cboolean2 BOOLEAN)
 +    STORED AS ORC
 +POSTHOOK: type: CREATETABLE
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@orc_llap
 +PREHOOK: query: CREATE TABLE orc_llap_small(
 +    ctinyint TINYINT,
 +    csmallint SMALLINT,
 +    cint INT)
 +    STORED AS ORC
 +PREHOOK: type: CREATETABLE
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@orc_llap_small
 +POSTHOOK: query: CREATE TABLE orc_llap_small(
 +    ctinyint TINYINT,
 +    csmallint SMALLINT,
 +    cint INT)
 +    STORED AS ORC
 +POSTHOOK: type: CREATETABLE
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@orc_llap_small
 +PREHOOK: query: create table cross_numbers(i int)
 +PREHOOK: type: CREATETABLE
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@cross_numbers
 +POSTHOOK: query: create table cross_numbers(i int)
 +POSTHOOK: type: CREATETABLE
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@cross_numbers
 +PREHOOK: query: insert into table cross_numbers
 +select distinct csmallint
 +from alltypesorc where csmallint > 0 order by csmallint limit 10
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@alltypesorc
 +PREHOOK: Output: default@cross_numbers
 +POSTHOOK: query: insert into table cross_numbers
 +select distinct csmallint
 +from alltypesorc where csmallint > 0 order by csmallint limit 10
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@alltypesorc
 +POSTHOOK: Output: default@cross_numbers
 +POSTHOOK: Lineage: cross_numbers.i EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ]
 +Warning: Shuffle Join JOIN[7][tables = [$hdt$_0, $hdt$_1]] in Stage 'Stage-1:MAPRED' is a cross product
 +PREHOOK: query: insert into table orc_llap
 +select ctinyint + i, csmallint + i, cint + i, cbigint + i, cfloat + i, cdouble + i, cstring1, cstring2, ctimestamp1, ctimestamp2, cboolean1, cboolean2
 +from alltypesorc cross join cross_numbers
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@alltypesorc
 +PREHOOK: Input: default@cross_numbers
 +PREHOOK: Output: default@orc_llap
 +POSTHOOK: query: insert into table orc_llap
 +select ctinyint + i, csmallint + i, cint + i, cbigint + i, cfloat + i, cdouble + i, cstring1, cstring2, ctimestamp1, ctimestamp2, cboolean1, cboolean2
 +from alltypesorc cross join cross_numbers
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@alltypesorc
 +POSTHOOK: Input: default@cross_numbers
 +POSTHOOK: Output: default@orc_llap
 +POSTHOOK: Lineage: orc_llap.cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cdouble EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cfloat EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.csmallint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cstring2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring2, type:string, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctimestamp1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp1, type:timestamp, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctimestamp2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp2, type:timestamp, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctinyint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:ctinyint, type:tinyint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +PREHOOK: query: insert into table orc_llap_small
 +select ctinyint, csmallint, cint from alltypesorc where ctinyint is not null and cint is not null limit 15
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@alltypesorc
 +PREHOOK: Output: default@orc_llap_small
 +POSTHOOK: query: insert into table orc_llap_small
 +select ctinyint, csmallint, cint from alltypesorc where ctinyint is not null and cint is not null limit 15
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@alltypesorc
 +POSTHOOK: Output: default@orc_llap_small
 +POSTHOOK: Lineage: orc_llap_small.cint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap_small.csmallint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), ]
 +POSTHOOK: Lineage: orc_llap_small.ctinyint SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctinyint, type:tinyint, comment:null), ]
 +Warning: Map Join MAPJOIN[18][bigTable=?] in task 'Stage-2:MAPRED' is a cross product
 +PREHOOK: query: -- Cross join with no projection - do it on small table
 +explain
 +select count(1) from orc_llap_small y join orc_llap_small x
 +PREHOOK: type: QUERY
 +POSTHOOK: query: -- Cross join with no projection - do it on small table
 +explain
 +select count(1) from orc_llap_small y join orc_llap_small x
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-5 is a root stage
 +  Stage-2 depends on stages: Stage-5
 +  Stage-0 depends on stages: Stage-2
 +
 +STAGE PLANS:
 +  Stage: Stage-5
 +    Map Reduce Local Work
 +      Alias -> Map Local Tables:
 +        $hdt$_0:$hdt$_0:y 
 +          Fetch Operator
 +            limit: -1
 +      Alias -> Map Local Operator Tree:
 +        $hdt$_0:$hdt$_0:y 
 +          TableScan
 +            alias: y
 +            Statistics: Num rows: 15 Data size: 180 Basic stats: COMPLETE Column stats: COMPLETE
 +            Select Operator
 +              Statistics: Num rows: 15 Data size: 60 Basic stats: COMPLETE Column stats: COMPLETE
 +              HashTable Sink Operator
 +                keys:
 +                  0 
 +                  1 
 +
 +  Stage: Stage-2
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: y
 +            Statistics: Num rows: 15 Data size: 180 Basic stats: COMPLETE Column stats: COMPLETE
 +            Select Operator
 +              Statistics: Num rows: 15 Data size: 60 Basic stats: COMPLETE Column stats: COMPLETE
 +              Map Join Operator
 +                condition map:
 +                     Inner Join 0 to 1
 +                keys:
 +                  0 
 +                  1 
 +                Statistics: Num rows: 112 Data size: 0 Basic stats: PARTIAL Column stats: COMPLETE
 +                Group By Operator
 +                  aggregations: count(1)
 +                  mode: hash
 +                  outputColumnNames: _col0
 +                  Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
 +                  Reduce Output Operator
 +                    sort order: 
 +                    Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
 +                    value expressions: _col0 (type: bigint)
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +      Local Work:
 +        Map Reduce Local Work
 +      Reduce Operator Tree:
 +        Group By Operator
 +          aggregations: count(VALUE._col0)
 +          mode: mergepartial
 +          outputColumnNames: _col0
 +          Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
 +          File Output Operator
 +            compressed: false
 +            Statistics: Num rows: 1 Data size: 8 Basic stats: COMPLETE Column stats: COMPLETE
 +            table:
 +                input format: org.apache.hadoop.mapred.TextInputFormat
 +                output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +Warning: Map Join MAPJOIN[18][bigTable=?] in task 'Stage-2:MAPRED' is a cross product
 +PREHOOK: query: select count(1) from orc_llap_small y join orc_llap_small x
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +POSTHOOK: query: select count(1) from orc_llap_small y join orc_llap_small x
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +225
 +PREHOOK: query: -- All row groups selected, no projection
 +select count(*) from orc_llap_small
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +POSTHOOK: query: -- All row groups selected, no projection
 +select count(*) from orc_llap_small
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +15
 +PREHOOK: query: -- All row groups pruned
 +select count(*) from orc_llap_small where cint < 60000000
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +POSTHOOK: query: -- All row groups pruned
 +select count(*) from orc_llap_small where cint < 60000000
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@orc_llap_small
 +#### A masked pattern was here ####
 +0
 +PREHOOK: query: -- Hash cannot be vectorized, so run hash as the last step on a temp table
 +drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +POSTHOOK: query: -- Hash cannot be vectorized, so run hash as the last step on a temp table
 +drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +PREHOOK: query: explain
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 10) and cbigint is not null) (type: boolean)
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 10) and cbigint is not null) (type: boolean)
 +              Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: cint (type: int), csmallint (type: smallint), cbigint (type: bigint)
 +                outputColumnNames: _col0, _col1, _col2
 +                Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
 +                  Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-558222259686
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select * from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select * from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 10) and cbigint is not null) (type: boolean)
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 10) and cbigint is not null) (type: boolean)
 +              Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
 +                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
 +                Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
 +                  Statistics: Num rows: 20480 Data size: 4846656 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select * from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select * from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-197609091139
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 5) and (cint < 10)) (type: boolean)
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 5) and (cint < 10)) (type: boolean)
 +              Statistics: Num rows: 13653 Data size: 3231025 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: cstring2 (type: string)
 +                outputColumnNames: _col0
 +                Statistics: Num rows: 13653 Data size: 3231025 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
 +                  Statistics: Num rows: 13653 Data size: 3231025 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +NULL
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Select Operator
 +              expressions: cstring1 (type: string), cstring2 (type: string)
 +              outputColumnNames: cstring1, cstring2
 +              Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +              Group By Operator
 +                aggregations: count()
 +                keys: cstring1 (type: string), cstring2 (type: string)
 +                mode: hash
 +                outputColumnNames: _col0, _col1, _col2
 +                Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +                Reduce Output Operator
 +                  key expressions: _col0 (type: string), _col1 (type: string)
 +                  sort order: ++
 +                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
 +                  Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +                  value expressions: _col2 (type: bigint)
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +      Reduce Operator Tree:
 +        Group By Operator
 +          aggregations: count(VALUE._col0)
 +          keys: KEY._col0 (type: string), KEY._col1 (type: string)
 +          mode: mergepartial
 +          outputColumnNames: _col0, _col1, _col2
 +          Statistics: Num rows: 61440 Data size: 14539970 Basic stats: COMPLETE Column stats: NONE
 +          File Output Operator
 +            compressed: false
 +            Statistics: Num rows: 61440 Data size: 14539970 Basic stats: COMPLETE Column stats: NONE
 +            table:
 +                input format: org.apache.hadoop.mapred.TextInputFormat
 +                output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-201218541193
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-4 is a root stage
 +  Stage-3 depends on stages: Stage-4
 +  Stage-0 depends on stages: Stage-3
 +
 +STAGE PLANS:
 +  Stage: Stage-4
 +    Map Reduce Local Work
 +      Alias -> Map Local Tables:
 +        o1 
 +          Fetch Operator
 +            limit: -1
 +      Alias -> Map Local Operator Tree:
 +        o1 
 +          TableScan
 +            alias: o1
 +            filterExpr: (csmallint is not null and cbigint is not null) (type: boolean)
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: (csmallint is not null and cbigint is not null) (type: boolean)
 +              Statistics: Num rows: 30720 Data size: 7269985 Basic stats: COMPLETE Column stats: NONE
 +              HashTable Sink Operator
 +                keys:
 +                  0 csmallint (type: smallint)
 +                  1 csmallint (type: smallint)
 +
 +  Stage: Stage-3
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: o2
 +            filterExpr: (csmallint is not null and cbigint is not null) (type: boolean)
 +            Statistics: Num rows: 122880 Data size: 29079940 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: (csmallint is not null and cbigint is not null) (type: boolean)
 +              Statistics: Num rows: 30720 Data size: 7269985 Basic stats: COMPLETE Column stats: NONE
 +              Map Join Operator
 +                condition map:
 +                     Inner Join 0 to 1
 +                keys:
 +                  0 csmallint (type: smallint)
 +                  1 csmallint (type: smallint)
 +                outputColumnNames: _col6, _col22
 +                Statistics: Num rows: 33792 Data size: 7996983 Basic stats: COMPLETE Column stats: NONE
 +                Select Operator
 +                  expressions: _col6 (type: string), _col22 (type: string)
 +                  outputColumnNames: _col0, _col1
 +                  Statistics: Num rows: 33792 Data size: 7996983 Basic stats: COMPLETE Column stats: NONE
 +                  File Output Operator
 +                    compressed: false
 +                    Statistics: Num rows: 33792 Data size: 7996983 Basic stats: COMPLETE Column stats: NONE
 +                    table:
 +                        input format: org.apache.hadoop.mapred.TextInputFormat
 +                        output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                        serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +      Local Work:
 +        Map Reduce Local Work
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-735462183586256
 +Warning: Map Join MAPJOIN[12][bigTable=?] in task 'Stage-4:MAPRED' is a cross product
 +PREHOOK: query: -- multi-stripe test
 +insert into table orc_llap
 +select ctinyint + i, csmallint + i, cint + i, cbigint + i, cfloat + i, cdouble + i, cstring1, cstring2, ctimestamp1, ctimestamp2, cboolean1, cboolean2
 +from alltypesorc cross join cross_numbers
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@alltypesorc
 +PREHOOK: Input: default@cross_numbers
 +PREHOOK: Output: default@orc_llap
 +POSTHOOK: query: -- multi-stripe test
 +insert into table orc_llap
 +select ctinyint + i, csmallint + i, cint + i, cbigint + i, cfloat + i, cdouble + i, cstring1, cstring2, ctimestamp1, ctimestamp2, cboolean1, cboolean2
 +from alltypesorc cross join cross_numbers
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@alltypesorc
 +POSTHOOK: Input: default@cross_numbers
 +POSTHOOK: Output: default@orc_llap
 +POSTHOOK: Lineage: orc_llap.cbigint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cbigint, type:bigint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cboolean1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean1, type:boolean, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cboolean2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cboolean2, type:boolean, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cdouble EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cdouble, type:double, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cfloat EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cfloat, type:float, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:cint, type:int, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.csmallint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:csmallint, type:smallint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cstring1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring1, type:string, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.cstring2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:cstring2, type:string, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctimestamp1 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp1, type:timestamp, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctimestamp2 SIMPLE [(alltypesorc)alltypesorc.FieldSchema(name:ctimestamp2, type:timestamp, comment:null), ]
 +POSTHOOK: Lineage: orc_llap.ctinyint EXPRESSION [(alltypesorc)alltypesorc.FieldSchema(name:ctinyint, type:tinyint, comment:null), (cross_numbers)cross_numbers.FieldSchema(name:i, type:int, comment:null), ]
 +PREHOOK: query: alter table orc_llap concatenate
 +PREHOOK: type: ALTER_TABLE_MERGE
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: default@orc_llap
 +POSTHOOK: query: alter table orc_llap concatenate
 +POSTHOOK: type: ALTER_TABLE_MERGE
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: default@orc_llap
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 10) and cbigint is not null) (type: boolean)
-             Statistics: Num rows: 99580 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 99583 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 10) and cbigint is not null) (type: boolean)
-               Statistics: Num rows: 16597 Data size: 265554 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 16597 Data size: 265553 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: cint (type: int), csmallint (type: smallint), cbigint (type: bigint)
 +                outputColumnNames: _col0, _col1, _col2
-                 Statistics: Num rows: 16597 Data size: 265554 Basic stats: COMPLETE Column stats: NONE
++                Statistics: Num rows: 16597 Data size: 265553 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
-                   Statistics: Num rows: 16597 Data size: 265554 Basic stats: COMPLETE Column stats: NONE
++                  Statistics: Num rows: 16597 Data size: 265553 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cint, csmallint, cbigint from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-1116444519372
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select * from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select * from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 10) and cbigint is not null) (type: boolean)
-             Statistics: Num rows: 4979 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 4979 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 10) and cbigint is not null) (type: boolean)
-               Statistics: Num rows: 830 Data size: 265602 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 830 Data size: 265609 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: ctinyint (type: tinyint), csmallint (type: smallint), cint (type: int), cbigint (type: bigint), cfloat (type: float), cdouble (type: double), cstring1 (type: string), cstring2 (type: string), ctimestamp1 (type: timestamp), ctimestamp2 (type: timestamp), cboolean1 (type: boolean), cboolean2 (type: boolean)
 +                outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
-                 Statistics: Num rows: 830 Data size: 265602 Basic stats: COMPLETE Column stats: NONE
++                Statistics: Num rows: 830 Data size: 265609 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
-                   Statistics: Num rows: 830 Data size: 265602 Basic stats: COMPLETE Column stats: NONE
++                  Statistics: Num rows: 830 Data size: 265609 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select * from orc_llap where cint > 10 and cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select * from orc_llap where cint > 10 and cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-395218182278
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
 +            filterExpr: ((cint > 5) and (cint < 10)) (type: boolean)
-             Statistics: Num rows: 15320 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 15320 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: ((cint > 5) and (cint < 10)) (type: boolean)
-               Statistics: Num rows: 1702 Data size: 177009 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 1702 Data size: 177014 Basic stats: COMPLETE Column stats: NONE
 +              Select Operator
 +                expressions: cstring2 (type: string)
 +                outputColumnNames: _col0
-                 Statistics: Num rows: 1702 Data size: 177009 Basic stats: COMPLETE Column stats: NONE
++                Statistics: Num rows: 1702 Data size: 177014 Basic stats: COMPLETE Column stats: NONE
 +                File Output Operator
 +                  compressed: false
-                   Statistics: Num rows: 1702 Data size: 177009 Basic stats: COMPLETE Column stats: NONE
++                  Statistics: Num rows: 1702 Data size: 177014 Basic stats: COMPLETE Column stats: NONE
 +                  table:
 +                      input format: org.apache.hadoop.mapred.TextInputFormat
 +                      output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                      serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cstring2 from orc_llap where cint > 5 and cint < 10
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +NULL
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-1 is a root stage
 +  Stage-0 depends on stages: Stage-1
 +
 +STAGE PLANS:
 +  Stage: Stage-1
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: orc_llap
-             Statistics: Num rows: 7966 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 7966 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Select Operator
 +              expressions: cstring1 (type: string), cstring2 (type: string)
 +              outputColumnNames: cstring1, cstring2
-               Statistics: Num rows: 7966 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 7966 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +              Group By Operator
 +                aggregations: count()
 +                keys: cstring1 (type: string), cstring2 (type: string)
 +                mode: hash
 +                outputColumnNames: _col0, _col1, _col2
-                 Statistics: Num rows: 7966 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++                Statistics: Num rows: 7966 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +                Reduce Output Operator
 +                  key expressions: _col0 (type: string), _col1 (type: string)
 +                  sort order: ++
 +                  Map-reduce partition columns: _col0 (type: string), _col1 (type: string)
-                   Statistics: Num rows: 7966 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++                  Statistics: Num rows: 7966 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +                  value expressions: _col2 (type: bigint)
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +      Reduce Operator Tree:
 +        Group By Operator
 +          aggregations: count(VALUE._col0)
 +          keys: KEY._col0 (type: string), KEY._col1 (type: string)
 +          mode: mergepartial
 +          outputColumnNames: _col0, _col1, _col2
-           Statistics: Num rows: 3983 Data size: 796646 Basic stats: COMPLETE Column stats: NONE
++          Statistics: Num rows: 3983 Data size: 796669 Basic stats: COMPLETE Column stats: NONE
 +          File Output Operator
 +            compressed: false
-             Statistics: Num rows: 3983 Data size: 796646 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 3983 Data size: 796669 Basic stats: COMPLETE Column stats: NONE
 +            table:
 +                input format: org.apache.hadoop.mapred.TextInputFormat
 +                output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select cstring1, cstring2, count(*) from orc_llap group by cstring1, cstring2
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-201218418313
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: explain
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +PREHOOK: type: QUERY
 +POSTHOOK: query: explain
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +POSTHOOK: type: QUERY
 +STAGE DEPENDENCIES:
 +  Stage-4 is a root stage
 +  Stage-3 depends on stages: Stage-4
 +  Stage-0 depends on stages: Stage-3
 +
 +STAGE PLANS:
 +  Stage: Stage-4
 +    Map Reduce Local Work
 +      Alias -> Map Local Tables:
 +        o1 
 +          Fetch Operator
 +            limit: -1
 +      Alias -> Map Local Operator Tree:
 +        o1 
 +          TableScan
 +            alias: o1
 +            filterExpr: (csmallint is not null and cbigint is not null) (type: boolean)
-             Statistics: Num rows: 14225 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 14226 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: (csmallint is not null and cbigint is not null) (type: boolean)
-               Statistics: Num rows: 3557 Data size: 398407 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 3557 Data size: 398390 Basic stats: COMPLETE Column stats: NONE
 +              HashTable Sink Operator
 +                keys:
 +                  0 csmallint (type: smallint)
 +                  1 csmallint (type: smallint)
 +
 +  Stage: Stage-3
 +    Map Reduce
 +      Map Operator Tree:
 +          TableScan
 +            alias: o2
 +            filterExpr: (csmallint is not null and cbigint is not null) (type: boolean)
-             Statistics: Num rows: 14225 Data size: 1593293 Basic stats: COMPLETE Column stats: NONE
++            Statistics: Num rows: 14226 Data size: 1593339 Basic stats: COMPLETE Column stats: NONE
 +            Filter Operator
 +              predicate: (csmallint is not null and cbigint is not null) (type: boolean)
-               Statistics: Num rows: 3557 Data size: 398407 Basic stats: COMPLETE Column stats: NONE
++              Statistics: Num rows: 3557 Data size: 398390 Basic stats: COMPLETE Column stats: NONE
 +              Map Join Operator
 +                condition map:
 +                     Inner Join 0 to 1
 +                keys:
 +                  0 csmallint (type: smallint)
 +                  1 csmallint (type: smallint)
 +                outputColumnNames: _col6, _col22
-                 Statistics: Num rows: 3912 Data size: 438247 Basic stats: COMPLETE Column stats: NONE
++                Statistics: Num rows: 3912 Data size: 438229 Basic stats: COMPLETE Column stats: NONE
 +                Select Operator
 +                  expressions: _col6 (type: string), _col22 (type: string)
 +                  outputColumnNames: _col0, _col1
-                   Statistics: Num rows: 3912 Data size: 438247 Basic stats: COMPLETE Column stats: NONE
++                  Statistics: Num rows: 3912 Data size: 438229 Basic stats: COMPLETE Column stats: NONE
 +                  File Output Operator
 +                    compressed: false
-                     Statistics: Num rows: 3912 Data size: 438247 Basic stats: COMPLETE Column stats: NONE
++                    Statistics: Num rows: 3912 Data size: 438229 Basic stats: COMPLETE Column stats: NONE
 +                    table:
 +                        input format: org.apache.hadoop.mapred.TextInputFormat
 +                        output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
 +                        serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
 +      Execution mode: vectorized
 +      LLAP IO: all inputs
 +      Local Work:
 +        Map Reduce Local Work
 +
 +  Stage: Stage-0
 +    Fetch Operator
 +      limit: -1
 +      Processor Tree:
 +        ListSink
 +
 +PREHOOK: query: create table llap_temp_table as
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +PREHOOK: type: CREATETABLE_AS_SELECT
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: database:default
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: create table llap_temp_table as
 +select o1.cstring1, o2.cstring2 from orc_llap o1 inner join orc_llap o2 on o1.csmallint = o2.csmallint where o1.cbigint is not null and o2.cbigint is not null
 +POSTHOOK: type: CREATETABLE_AS_SELECT
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: database:default
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: select sum(hash(*)) from llap_temp_table
 +PREHOOK: type: QUERY
 +PREHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +POSTHOOK: query: select sum(hash(*)) from llap_temp_table
 +POSTHOOK: type: QUERY
 +POSTHOOK: Input: default@llap_temp_table
 +#### A masked pattern was here ####
 +-2941848734345024
 +PREHOOK: query: drop table llap_temp_table
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@llap_temp_table
 +PREHOOK: Output: default@llap_temp_table
 +POSTHOOK: query: drop table llap_temp_table
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@llap_temp_table
 +POSTHOOK: Output: default@llap_temp_table
 +PREHOOK: query: DROP TABLE cross_numbers
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@cross_numbers
 +PREHOOK: Output: default@cross_numbers
 +POSTHOOK: query: DROP TABLE cross_numbers
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@cross_numbers
 +POSTHOOK: Output: default@cross_numbers
 +PREHOOK: query: DROP TABLE orc_llap
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@orc_llap
 +PREHOOK: Output: default@orc_llap
 +POSTHOOK: query: DROP TABLE orc_llap
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@orc_llap
 +POSTHOOK: Output: default@orc_llap
 +PREHOOK: query: DROP TABLE orc_llap_small
 +PREHOOK: type: DROPTABLE
 +PREHOOK: Input: default@orc_llap_small
 +PREHOOK: Output: default@orc_llap_small
 +POSTHOOK: query: DROP TABLE orc_llap_small
 +POSTHOOK: type: DROPTABLE
 +POSTHOOK: Input: default@orc_llap_small
 +POSTHOOK: Output: default@orc_llap_small


Mime
View raw message