PageRenderTime 27ms CodeModel.GetById 21ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
text | 33 lines | 31 code | 2 blank | 0 comment | 0 complexity | 0d4bb5fa53718c9ff3c6a8c58944da54 MD5 | raw file
 1PREHOOK: query: -- Tests trying to unarchive a non-archived partition
 2-- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.17, 0.18, 0.19)
 3
 4drop table tstsrcpart
 5PREHOOK: type: DROPTABLE
 6POSTHOOK: query: -- Tests trying to unarchive a non-archived partition
 7-- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.17, 0.18, 0.19)
 8
 9drop table tstsrcpart
10POSTHOOK: type: DROPTABLE
11PREHOOK: query: create table tstsrcpart like srcpart
12PREHOOK: type: CREATETABLE
13POSTHOOK: query: create table tstsrcpart like srcpart
14POSTHOOK: type: CREATETABLE
15POSTHOOK: Output: default@tstsrcpart
16PREHOOK: query: insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12')
17select key, value from srcpart where ds='2008-04-08' and hr='12'
18PREHOOK: type: QUERY
19PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
20PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
21POSTHOOK: query: insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12')
22select key, value from srcpart where ds='2008-04-08' and hr='12'
23POSTHOOK: type: QUERY
24POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
25POSTHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
26POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ]
27POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
28PREHOOK: query: ALTER TABLE tstsrcpart UNARCHIVE PARTITION (ds='2008-04-08', hr='12')
29PREHOOK: type: ALTERTABLE_UNARCHIVE
30PREHOOK: Input: default@tstsrcpart
31PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
32FAILED: Error in metadata: Specified partition is not archived
33FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask