You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2016/08/24 20:57:17 UTC
[23/51] [partial] hive git commit: HIVE-14553: Remove tez golden
files after HIVE-14502 (Prasanth Jayachandran reviewed by Siddharth Seth)
http://git-wip-us.apache.org/repos/asf/hive/blob/975a49b6/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning_2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning_2.q.out b/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning_2.q.out
deleted file mode 100644
index 5ec522a..0000000
--- a/ql/src/test/results/clientpositive/tez/dynamic_partition_pruning_2.q.out
+++ /dev/null
@@ -1,1125 +0,0 @@
-PREHOOK: query: create table dim_shops (id int, label string) row format delimited fields terminated by ',' stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@dim_shops
-POSTHOOK: query: create table dim_shops (id int, label string) row format delimited fields terminated by ',' stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@dim_shops
-PREHOOK: query: load data local inpath '../../data/files/dim_shops.txt' into table dim_shops
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@dim_shops
-POSTHOOK: query: load data local inpath '../../data/files/dim_shops.txt' into table dim_shops
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@dim_shops
-PREHOOK: query: create table agg_01 (amount decimal) partitioned by (dim_shops_id int) row format delimited fields terminated by ',' stored as textfile
-PREHOOK: type: CREATETABLE
-PREHOOK: Output: database:default
-PREHOOK: Output: default@agg_01
-POSTHOOK: query: create table agg_01 (amount decimal) partitioned by (dim_shops_id int) row format delimited fields terminated by ',' stored as textfile
-POSTHOOK: type: CREATETABLE
-POSTHOOK: Output: database:default
-POSTHOOK: Output: default@agg_01
-PREHOOK: query: alter table agg_01 add partition (dim_shops_id = 1)
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@agg_01
-POSTHOOK: query: alter table agg_01 add partition (dim_shops_id = 1)
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@agg_01
-POSTHOOK: Output: default@agg_01@dim_shops_id=1
-PREHOOK: query: alter table agg_01 add partition (dim_shops_id = 2)
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@agg_01
-POSTHOOK: query: alter table agg_01 add partition (dim_shops_id = 2)
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@agg_01
-POSTHOOK: Output: default@agg_01@dim_shops_id=2
-PREHOOK: query: alter table agg_01 add partition (dim_shops_id = 3)
-PREHOOK: type: ALTERTABLE_ADDPARTS
-PREHOOK: Output: default@agg_01
-POSTHOOK: query: alter table agg_01 add partition (dim_shops_id = 3)
-POSTHOOK: type: ALTERTABLE_ADDPARTS
-POSTHOOK: Output: default@agg_01
-POSTHOOK: Output: default@agg_01@dim_shops_id=3
-PREHOOK: query: load data local inpath '../../data/files/agg_01-p1.txt' into table agg_01 partition (dim_shops_id=1)
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@agg_01@dim_shops_id=1
-POSTHOOK: query: load data local inpath '../../data/files/agg_01-p1.txt' into table agg_01 partition (dim_shops_id=1)
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@agg_01@dim_shops_id=1
-PREHOOK: query: load data local inpath '../../data/files/agg_01-p2.txt' into table agg_01 partition (dim_shops_id=2)
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@agg_01@dim_shops_id=2
-POSTHOOK: query: load data local inpath '../../data/files/agg_01-p2.txt' into table agg_01 partition (dim_shops_id=2)
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@agg_01@dim_shops_id=2
-PREHOOK: query: load data local inpath '../../data/files/agg_01-p3.txt' into table agg_01 partition (dim_shops_id=3)
-PREHOOK: type: LOAD
-#### A masked pattern was here ####
-PREHOOK: Output: default@agg_01@dim_shops_id=3
-POSTHOOK: query: load data local inpath '../../data/files/agg_01-p3.txt' into table agg_01 partition (dim_shops_id=3)
-POSTHOOK: type: LOAD
-#### A masked pattern was here ####
-POSTHOOK: Output: default@agg_01@dim_shops_id=3
-PREHOOK: query: analyze table dim_shops compute statistics
-PREHOOK: type: QUERY
-PREHOOK: Input: default@dim_shops
-PREHOOK: Output: default@dim_shops
-POSTHOOK: query: analyze table dim_shops compute statistics
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@dim_shops
-POSTHOOK: Output: default@dim_shops
-PREHOOK: query: analyze table agg_01 partition (dim_shops_id) compute statistics
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Output: default@agg_01
-PREHOOK: Output: default@agg_01@dim_shops_id=1
-PREHOOK: Output: default@agg_01@dim_shops_id=2
-PREHOOK: Output: default@agg_01@dim_shops_id=3
-POSTHOOK: query: analyze table agg_01 partition (dim_shops_id) compute statistics
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Output: default@agg_01
-POSTHOOK: Output: default@agg_01@dim_shops_id=1
-POSTHOOK: Output: default@agg_01@dim_shops_id=2
-POSTHOOK: Output: default@agg_01@dim_shops_id=3
-PREHOOK: query: select * from dim_shops
-PREHOOK: type: QUERY
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: select * from dim_shops
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-1 foo
-2 bar
-3 baz
-PREHOOK: query: select * from agg_01
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-#### A masked pattern was here ####
-POSTHOOK: query: select * from agg_01
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-#### A masked pattern was here ####
-1 1
-2 1
-3 1
-4 2
-5 2
-6 2
-7 3
-8 3
-9 3
-PREHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 4 (BROADCAST_EDGE)
- Reducer 2 <- Map 1 (SIMPLE_EDGE)
- Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: PARTIAL
- Select Operator
- expressions: amount (type: decimal(10,0)), dim_shops_id (type: int)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: PARTIAL
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col1 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col0, _col3
- input vertices:
- 1 Map 4
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- Select Operator
- expressions: _col3 (type: string), _col0 (type: decimal(10,0))
- outputColumnNames: _col3, _col0
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- aggregations: count(), sum(_col0)
- keys: _col3 (type: string)
- mode: hash
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Map 4
- Map Operator Tree:
- TableScan
- alias: d1
- filterExpr: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int), label (type: string)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: string)
- Select Operator
- expressions: _col0 (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- keys: _col0 (type: int)
- mode: hash
- outputColumnNames: _col0
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Dynamic Partitioning Event Operator
- Target column: dim_shops_id (int)
- Target Input: agg
- Partition key expr: dim_shops_id
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Target Vertex: Map 1
- Reducer 2
- Reduce Operator Tree:
- Group By Operator
- aggregations: count(VALUE._col0), sum(VALUE._col1)
- keys: KEY._col0 (type: string)
- mode: mergepartial
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Reducer 3
- Reduce Operator Tree:
- Select Operator
- expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 (type: bigint), VALUE._col1 (type: decimal(20,0))
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- File Output Operator
- compressed: false
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-bar 3 15
-foo 3 6
-PREHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 4 (BROADCAST_EDGE)
- Reducer 2 <- Map 1 (SIMPLE_EDGE)
- Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: PARTIAL
- Select Operator
- expressions: amount (type: decimal(10,0)), dim_shops_id (type: int)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: PARTIAL
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col1 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col0, _col3
- input vertices:
- 1 Map 4
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- Select Operator
- expressions: _col3 (type: string), _col0 (type: decimal(10,0))
- outputColumnNames: _col3, _col0
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- aggregations: count(), sum(_col0)
- keys: _col3 (type: string)
- mode: hash
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Map 4
- Map Operator Tree:
- TableScan
- alias: d1
- filterExpr: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int), label (type: string)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: string)
- Reducer 2
- Reduce Operator Tree:
- Group By Operator
- aggregations: count(VALUE._col0), sum(VALUE._col1)
- keys: KEY._col0 (type: string)
- mode: mergepartial
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Reducer 3
- Reduce Operator Tree:
- Select Operator
- expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 (type: bigint), VALUE._col1 (type: decimal(20,0))
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- File Output Operator
- compressed: false
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-bar 3 15
-foo 3 6
-PREHOOK: query: EXPLAIN SELECT d1.label
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN SELECT d1.label
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 2 (BROADCAST_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: COMPLETE
- Select Operator
- expressions: dim_shops_id (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: COMPLETE
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col0 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col2
- input vertices:
- 1 Map 2
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- Select Operator
- expressions: _col2 (type: string)
- outputColumnNames: _col0
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- File Output Operator
- compressed: false
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
- Map 2
- Map Operator Tree:
- TableScan
- alias: d1
- filterExpr: id is not null (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: id is not null (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int), label (type: string)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: string)
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: SELECT d1.label
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT d1.label
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-foo
-foo
-foo
-bar
-bar
-bar
-baz
-baz
-baz
-Warning: Map Join MAPJOIN[13][bigTable=?] in task 'Map 1' is a cross product
-PREHOOK: query: EXPLAIN SELECT agg.amount
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and agg.dim_shops_id = 1
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN SELECT agg.amount
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and agg.dim_shops_id = 1
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 2 (BROADCAST_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg
- filterExpr: (dim_shops_id = 1) (type: boolean)
- Statistics: Num rows: 3 Data size: 33 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: amount (type: decimal(10,0))
- outputColumnNames: _col0
- Statistics: Num rows: 3 Data size: 33 Basic stats: COMPLETE Column stats: NONE
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0
- 1
- outputColumnNames: _col0
- input vertices:
- 1 Map 2
- Statistics: Num rows: 3 Data size: 51 Basic stats: COMPLETE Column stats: NONE
- File Output Operator
- compressed: false
- Statistics: Num rows: 3 Data size: 51 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
- Map 2
- Map Operator Tree:
- TableScan
- alias: d1
- filterExpr: (1 = id) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: (1 = id) (type: boolean)
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- sort order:
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-Warning: Map Join MAPJOIN[13][bigTable=?] in task 'Map 1' is a cross product
-PREHOOK: query: SELECT agg.amount
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and agg.dim_shops_id = 1
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT agg.amount
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and agg.dim_shops_id = 1
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-1
-2
-3
-PREHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 4 (BROADCAST_EDGE)
- Reducer 2 <- Map 1 (SIMPLE_EDGE)
- Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: PARTIAL
- Select Operator
- expressions: amount (type: decimal(10,0)), dim_shops_id (type: int)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: PARTIAL
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col1 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col0, _col3
- input vertices:
- 1 Map 4
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- Select Operator
- expressions: _col3 (type: string), _col0 (type: decimal(10,0))
- outputColumnNames: _col3, _col0
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- aggregations: count(), sum(_col0)
- keys: _col3 (type: string)
- mode: hash
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Map 4
- Map Operator Tree:
- TableScan
- alias: d1
- filterExpr: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: ((label) IN ('foo', 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int), label (type: string)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: string)
- Select Operator
- expressions: _col0 (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- keys: _col0 (type: int)
- mode: hash
- outputColumnNames: _col0
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Dynamic Partitioning Event Operator
- Target column: dim_shops_id (int)
- Target Input: agg
- Partition key expr: dim_shops_id
- Statistics: Num rows: 2 Data size: 10 Basic stats: COMPLETE Column stats: NONE
- Target Vertex: Map 1
- Reducer 2
- Reduce Operator Tree:
- Group By Operator
- aggregations: count(VALUE._col0), sum(VALUE._col1)
- keys: KEY._col0 (type: string)
- mode: mergepartial
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- value expressions: _col1 (type: bigint), _col2 (type: decimal(20,0))
- Reducer 3
- Reduce Operator Tree:
- Select Operator
- expressions: KEY.reducesinkkey0 (type: string), VALUE._col0 (type: bigint), VALUE._col1 (type: decimal(20,0))
- outputColumnNames: _col0, _col1, _col2
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- File Output Operator
- compressed: false
- Statistics: Num rows: 4 Data size: 17 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT d1.label, count(*), sum(agg.amount)
-FROM agg_01 agg,
-dim_shops d1
-WHERE agg.dim_shops_id = d1.id
-and
-d1.label in ('foo', 'bar')
-GROUP BY d1.label
-ORDER BY d1.label
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-bar 3 15
-foo 3 6
-PREHOOK: query: EXPLAIN
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'foo'
-UNION ALL
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'bar'
-PREHOOK: type: QUERY
-POSTHOOK: query: EXPLAIN
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'foo'
-UNION ALL
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'bar'
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 3 (BROADCAST_EDGE), Union 2 (CONTAINS)
- Map 4 <- Map 5 (BROADCAST_EDGE), Union 2 (CONTAINS)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: agg_01
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: PARTIAL
- Select Operator
- expressions: amount (type: decimal(10,0)), dim_shops_id (type: int)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: PARTIAL
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col1 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col0
- input vertices:
- 1 Map 3
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- File Output Operator
- compressed: false
- Statistics: Num rows: 18 Data size: 78 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
- Map 3
- Map Operator Tree:
- TableScan
- alias: dim_shops
- filterExpr: ((label = 'foo') and id is not null) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: ((label = 'foo') and id is not null) (type: boolean)
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: _col0 (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- keys: _col0 (type: int)
- mode: hash
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Dynamic Partitioning Event Operator
- Target column: dim_shops_id (int)
- Target Input: agg_01
- Partition key expr: dim_shops_id
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Target Vertex: Map 1
- Map 4
- Map Operator Tree:
- TableScan
- alias: agg_01
- filterExpr: dim_shops_id is not null (type: boolean)
- Statistics: Num rows: 9 Data size: 63 Basic stats: COMPLETE Column stats: PARTIAL
- Select Operator
- expressions: amount (type: decimal(10,0)), dim_shops_id (type: int)
- outputColumnNames: _col0, _col1
- Statistics: Num rows: 9 Data size: 36 Basic stats: COMPLETE Column stats: PARTIAL
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col1 (type: int)
- 1 _col0 (type: int)
- outputColumnNames: _col0
- input vertices:
- 1 Map 5
- Statistics: Num rows: 9 Data size: 39 Basic stats: COMPLETE Column stats: NONE
- HybridGraceHashJoin: true
- File Output Operator
- compressed: false
- Statistics: Num rows: 18 Data size: 78 Basic stats: COMPLETE Column stats: NONE
- table:
- input format: org.apache.hadoop.mapred.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
- Map 5
- Map Operator Tree:
- TableScan
- alias: dim_shops
- filterExpr: ((label = 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 3 Data size: 15 Basic stats: COMPLETE Column stats: NONE
- Filter Operator
- predicate: ((label = 'bar') and id is not null) (type: boolean)
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: id (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Reduce Output Operator
- key expressions: _col0 (type: int)
- sort order: +
- Map-reduce partition columns: _col0 (type: int)
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Select Operator
- expressions: _col0 (type: int)
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Group By Operator
- keys: _col0 (type: int)
- mode: hash
- outputColumnNames: _col0
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Dynamic Partitioning Event Operator
- Target column: dim_shops_id (int)
- Target Input: agg_01
- Partition key expr: dim_shops_id
- Statistics: Num rows: 1 Data size: 5 Basic stats: COMPLETE Column stats: NONE
- Target Vertex: Map 4
- Union 2
- Vertex: Union 2
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'foo'
-UNION ALL
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'bar'
-PREHOOK: type: QUERY
-PREHOOK: Input: default@agg_01
-PREHOOK: Input: default@agg_01@dim_shops_id=1
-PREHOOK: Input: default@agg_01@dim_shops_id=2
-PREHOOK: Input: default@agg_01@dim_shops_id=3
-PREHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-POSTHOOK: query: SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'foo'
-UNION ALL
-SELECT amount FROM agg_01, dim_shops WHERE dim_shops_id = id AND label = 'bar'
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@agg_01
-POSTHOOK: Input: default@agg_01@dim_shops_id=1
-POSTHOOK: Input: default@agg_01@dim_shops_id=2
-POSTHOOK: Input: default@agg_01@dim_shops_id=3
-POSTHOOK: Input: default@dim_shops
-#### A masked pattern was here ####
-1
-2
-3
-4
-5
-6
-PREHOOK: query: -- Dynamic partition pruning will be removed as data size exceeds the limit;
--- and for self join on partitioning column, it should not fail (HIVE-10559).
-explain
-select count(*)
-from srcpart s1,
- srcpart s2
-where s1.ds = s2.ds
-PREHOOK: type: QUERY
-POSTHOOK: query: -- Dynamic partition pruning will be removed as data size exceeds the limit;
--- and for self join on partitioning column, it should not fail (HIVE-10559).
-explain
-select count(*)
-from srcpart s1,
- srcpart s2
-where s1.ds = s2.ds
-POSTHOOK: type: QUERY
-STAGE DEPENDENCIES:
- Stage-1 is a root stage
- Stage-0 depends on stages: Stage-1
-
-STAGE PLANS:
- Stage: Stage-1
- Tez
-#### A masked pattern was here ####
- Edges:
- Map 1 <- Map 3 (BROADCAST_EDGE)
- Reducer 2 <- Map 1 (SIMPLE_EDGE)
-#### A masked pattern was here ####
- Vertices:
- Map 1
- Map Operator Tree:
- TableScan
- alias: s1
- filterExpr: ds is not null (type: boolean)
- Statistics: Num rows: 2000 Data size: 389248 Basic stats: COMPLETE Column stats: COMPLETE
- Select Operator
- expressions: ds (type: string)
- outputColumnNames: _col0
- Statistics: Num rows: 2000 Data size: 368000 Basic stats: COMPLETE Column stats: COMPLETE
- Map Join Operator
- condition map:
- Inner Join 0 to 1
- keys:
- 0 _col0 (type: string)
- 1 _col0 (type: string)
- input vertices:
- 1 Map 3
- Statistics: Num rows: 2000000 Data size: 16000000 Basic stats: COMPLETE Column stats: COMPLETE
- HybridGraceHashJoin: true
- Group By Operator
- aggregations: count()
- 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)
- Map 3
- Map Operator Tree:
- TableScan
- alias: s2
- filterExpr: ds is not null (type: boolean)
- Statistics: Num rows: 2000 Data size: 389248 Basic stats: COMPLETE Column stats: COMPLETE
- Select Operator
- expressions: ds (type: string)
- outputColumnNames: _col0
- Statistics: Num rows: 2000 Data size: 368000 Basic stats: COMPLETE Column stats: COMPLETE
- Reduce Output Operator
- key expressions: _col0 (type: string)
- sort order: +
- Map-reduce partition columns: _col0 (type: string)
- Statistics: Num rows: 2000 Data size: 368000 Basic stats: COMPLETE Column stats: COMPLETE
- Reducer 2
- 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.SequenceFileInputFormat
- output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
- serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
-
- Stage: Stage-0
- Fetch Operator
- limit: -1
- Processor Tree:
- ListSink
-
-PREHOOK: query: select count(*)
-from srcpart s1,
- srcpart s2
-where s1.ds = s2.ds
-PREHOOK: type: QUERY
-PREHOOK: Input: default@srcpart
-PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
-PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
-PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
-PREHOOK: Input: default@srcpart@ds=2008-04-09/hr=12
-#### A masked pattern was here ####
-POSTHOOK: query: select count(*)
-from srcpart s1,
- srcpart s2
-where s1.ds = s2.ds
-POSTHOOK: type: QUERY
-POSTHOOK: Input: default@srcpart
-POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=11
-POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
-POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=11
-POSTHOOK: Input: default@srcpart@ds=2008-04-09/hr=12
-#### A masked pattern was here ####
-2000000