PREHOOK: query: CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE PREHOOK: type: CREATETABLE POSTHOOK: query: CREATE TABLE bucket_small (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 2 BUCKETS STORED AS TEXTFILE POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@bucket_small PREHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_small POSTHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_small POSTHOOK: Output: default@bucket_small@ds=2008-04-08 PREHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_small@ds=2008-04-08 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_small partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_small@ds=2008-04-08 PREHOOK: query: CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE PREHOOK: type: CREATETABLE POSTHOOK: query: CREATE TABLE bucket_big (key string, value string) partitioned by (ds string) CLUSTERED BY (key) SORTED BY (key) INTO 4 BUCKETS STORED AS TEXTFILE POSTHOOK: type: CREATETABLE POSTHOOK: Output: default@bucket_big PREHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big POSTHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big POSTHOOK: Output: default@bucket_big@ds=2008-04-08 PREHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-08 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-08 PREHOOK: query: load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-08 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-08 PREHOOK: query: load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-08 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-08') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-08 PREHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big POSTHOOK: query: load data local inpath '../data/files/srcsortbucket1outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big POSTHOOK: Output: default@bucket_big@ds=2008-04-09 PREHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-09 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket2outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-09 PREHOOK: query: load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-09 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket3outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-09 PREHOOK: query: load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') PREHOOK: type: LOAD PREHOOK: Output: default@bucket_big@ds=2008-04-09 POSTHOOK: query: load data local inpath '../data/files/srcsortbucket4outof4.txt' INTO TABLE bucket_big partition(ds='2008-04-09') POSTHOOK: type: LOAD POSTHOOK: Output: default@bucket_big@ds=2008-04-09 PREHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key PREHOOK: type: QUERY PREHOOK: Input: default@bucket_big PREHOOK: Input: default@bucket_big@ds=2008-04-08 PREHOOK: Input: default@bucket_big@ds=2008-04-09 PREHOOK: Input: default@bucket_small PREHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### POSTHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key POSTHOOK: type: QUERY POSTHOOK: Input: default@bucket_big POSTHOOK: Input: default@bucket_big@ds=2008-04-08 POSTHOOK: Input: default@bucket_big@ds=2008-04-09 POSTHOOK: Input: default@bucket_small POSTHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### 928 PREHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key PREHOOK: type: QUERY PREHOOK: Input: default@bucket_big PREHOOK: Input: default@bucket_big@ds=2008-04-08 PREHOOK: Input: default@bucket_big@ds=2008-04-09 PREHOOK: Input: default@bucket_small PREHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### POSTHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key POSTHOOK: type: QUERY POSTHOOK: Input: default@bucket_big POSTHOOK: Input: default@bucket_big@ds=2008-04-08 POSTHOOK: Input: default@bucket_big@ds=2008-04-09 POSTHOOK: Input: default@bucket_small POSTHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### 928 PREHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key PREHOOK: type: QUERY PREHOOK: Input: default@bucket_big PREHOOK: Input: default@bucket_big@ds=2008-04-08 PREHOOK: Input: default@bucket_big@ds=2008-04-09 PREHOOK: Input: default@bucket_small PREHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### POSTHOOK: query: select /* + MAPJOIN(a) */ count(*) FROM bucket_small a JOIN bucket_big b ON a.key = b.key POSTHOOK: type: QUERY POSTHOOK: Input: default@bucket_big POSTHOOK: Input: default@bucket_big@ds=2008-04-08 POSTHOOK: Input: default@bucket_big@ds=2008-04-09 POSTHOOK: Input: default@bucket_small POSTHOOK: Input: default@bucket_small@ds=2008-04-08 #### A masked pattern was here #### 928