PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientnegative/protectmode_part2.q.out

#
text | 35 lines | 33 code | 2 blank | 0 comment | 0 complexity | 59b60a5e4b29a0faaa58922b18463b47 MD5 | raw file
 1PREHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
 2
 3drop table tbl_protectmode6
 4PREHOOK: type: DROPTABLE
 5POSTHOOK: query: -- protect mode: syntax to change protect mode works and queries are not blocked if a table or partition is not in protect mode
 6
 7drop table tbl_protectmode6
 8POSTHOOK: type: DROPTABLE
 9PREHOOK: query: create table tbl_protectmode6  (c1 string,c2 string) partitioned by (p string)
10PREHOOK: type: CREATETABLE
11POSTHOOK: query: create table tbl_protectmode6  (c1 string,c2 string) partitioned by (p string)
12POSTHOOK: type: CREATETABLE
13POSTHOOK: Output: default@tbl_protectmode6
14PREHOOK: query: alter table tbl_protectmode6 add partition (p='p1')
15PREHOOK: type: ALTERTABLE_ADDPARTS
16PREHOOK: Input: default@tbl_protectmode6
17POSTHOOK: query: alter table tbl_protectmode6 add partition (p='p1')
18POSTHOOK: type: ALTERTABLE_ADDPARTS
19POSTHOOK: Input: default@tbl_protectmode6
20POSTHOOK: Output: default@tbl_protectmode6@p=p1
21PREHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1')
22PREHOOK: type: LOAD
23POSTHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' OVERWRITE INTO TABLE tbl_protectmode6 partition (p='p1')
24POSTHOOK: type: LOAD
25POSTHOOK: Output: default@tbl_protectmode6@p=p1
26PREHOOK: query: alter table tbl_protectmode6 partition (p='p1') enable offline
27PREHOOK: type: ALTERPARTITION_PROTECTMODE
28PREHOOK: Input: default@tbl_protectmode6
29PREHOOK: Output: default@tbl_protectmode6@p=p1
30POSTHOOK: query: alter table tbl_protectmode6 partition (p='p1') enable offline
31POSTHOOK: type: ALTERPARTITION_PROTECTMODE
32POSTHOOK: Input: default@tbl_protectmode6
33POSTHOOK: Input: default@tbl_protectmode6@p=p1
34POSTHOOK: Output: default@tbl_protectmode6@p=p1
35FAILED: Error in semantic analysis: org.apache.hadoop.hive.ql.parse.SemanticException: Query against an offline table or partition tbl_protectmode6:p=p1