1 PREHOOK: query: drop table if exists udf_tb1
2 PREHOOK: type: DROPTABLE
3 POSTHOOK: query: drop table if exists udf_tb1
4 POSTHOOK: type: DROPTABLE
5 PREHOOK: query: drop table if exists udf_tb2
6 PREHOOK: type: DROPTABLE
7 POSTHOOK: query: drop table if exists udf_tb2
8 POSTHOOK: type: DROPTABLE
9 PREHOOK: query: create table udf_tb1 (year int, month int)
10 PREHOOK: type: CREATETABLE
11 PREHOOK: Output: database:default
12 PREHOOK: Output: default@udf_tb1
13 POSTHOOK: query: create table udf_tb1 (year int, month int)
14 POSTHOOK: type: CREATETABLE
15 POSTHOOK: Output: database:default
16 POSTHOOK: Output: default@udf_tb1
17 PREHOOK: query: create table udf_tb2(month int)
18 PREHOOK: type: CREATETABLE
19 PREHOOK: Output: database:default
20 PREHOOK: Output: default@udf_tb2
21 POSTHOOK: query: create table udf_tb2(month int)
22 POSTHOOK: type: CREATETABLE
23 POSTHOOK: Output: database:default
24 POSTHOOK: Output: default@udf_tb2
25 PREHOOK: query: insert into udf_tb1 values(2001, 11)
27 PREHOOK: Input: _dummy_database@_dummy_table
28 PREHOOK: Output: default@udf_tb1
29 POSTHOOK: query: insert into udf_tb1 values(2001, 11)
31 POSTHOOK: Input: _dummy_database@_dummy_table
32 POSTHOOK: Output: default@udf_tb1
33 POSTHOOK: Lineage: udf_tb1.month SCRIPT []
34 POSTHOOK: Lineage: udf_tb1.year SCRIPT []
35 PREHOOK: query: insert into udf_tb2 values(11)
37 PREHOOK: Input: _dummy_database@_dummy_table
38 PREHOOK: Output: default@udf_tb2
39 POSTHOOK: query: insert into udf_tb2 values(11)
41 POSTHOOK: Input: _dummy_database@_dummy_table
42 POSTHOOK: Output: default@udf_tb2
43 POSTHOOK: Lineage: udf_tb2.month SCRIPT []
44 PREHOOK: query: explain
45 select unix_timestamp(concat(a.year, '-01-01 00:00:00')) from (select * from udf_tb1 where year=2001) a join udf_tb2 b on (a.month=b.month)
47 POSTHOOK: query: explain
48 select unix_timestamp(concat(a.year, '-01-01 00:00:00')) from (select * from udf_tb1 where year=2001) a join udf_tb2 b on (a.month=b.month)
51 Stage-1 is a root stage
52 Stage-0 depends on stages: Stage-1
60 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
62 predicate: ((year = 2001) and month is not null) (type: boolean)
63 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
65 expressions: month (type: int)
66 outputColumnNames: _col0
67 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
68 Reduce Output Operator
69 key expressions: _col0 (type: int)
71 Map-reduce partition columns: _col0 (type: int)
72 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
75 Statistics: Num rows: 1 Data size: 2 Basic stats: COMPLETE Column stats: NONE
77 predicate: month is not null (type: boolean)
78 Statistics: Num rows: 1 Data size: 2 Basic stats: COMPLETE Column stats: NONE
80 expressions: month (type: int)
81 outputColumnNames: _col0
82 Statistics: Num rows: 1 Data size: 2 Basic stats: COMPLETE Column stats: NONE
83 Reduce Output Operator
84 key expressions: _col0 (type: int)
86 Map-reduce partition columns: _col0 (type: int)
87 Statistics: Num rows: 1 Data size: 2 Basic stats: COMPLETE Column stats: NONE
95 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
97 expressions: 978336000L (type: bigint)
98 outputColumnNames: _col0
99 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
102 Statistics: Num rows: 1 Data size: 7 Basic stats: COMPLETE Column stats: NONE
104 input format: org.apache.hadoop.mapred.SequenceFileInputFormat
105 output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
106 serde: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe
114 PREHOOK: query: select unix_timestamp(concat(a.year, '-01-01 00:00:00')) from (select * from udf_tb1 where year=2001) a join udf_tb2 b on (a.month=b.month)
116 PREHOOK: Input: default@udf_tb1
117 PREHOOK: Input: default@udf_tb2
118 #### A masked pattern was here ####
119 POSTHOOK: query: select unix_timestamp(concat(a.year, '-01-01 00:00:00')) from (select * from udf_tb1 where year=2001) a join udf_tb2 b on (a.month=b.month)
120 POSTHOOK: type: QUERY
121 POSTHOOK: Input: default@udf_tb1
122 POSTHOOK: Input: default@udf_tb2
123 #### A masked pattern was here ####