PageRenderTime 33ms CodeModel.GetById 6ms RepoModel.GetById 0ms 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
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: -- Tests trying to unarchive a non-archived partition
  2. -- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.17, 0.18, 0.19)
  3. drop table tstsrcpart
  4. PREHOOK: type: DROPTABLE
  5. POSTHOOK: query: -- Tests trying to unarchive a non-archived partition
  6. -- EXCLUDE_HADOOP_MAJOR_VERSIONS(0.17, 0.18, 0.19)
  7. drop table tstsrcpart
  8. POSTHOOK: type: DROPTABLE
  9. PREHOOK: query: create table tstsrcpart like srcpart
  10. PREHOOK: type: CREATETABLE
  11. POSTHOOK: query: create table tstsrcpart like srcpart
  12. POSTHOOK: type: CREATETABLE
  13. POSTHOOK: Output: default@tstsrcpart
  14. PREHOOK: query: insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12')
  15. select key, value from srcpart where ds='2008-04-08' and hr='12'
  16. PREHOOK: type: QUERY
  17. PREHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  18. PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
  19. POSTHOOK: query: insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='12')
  20. select key, value from srcpart where ds='2008-04-08' and hr='12'
  21. POSTHOOK: type: QUERY
  22. POSTHOOK: Input: default@srcpart@ds=2008-04-08/hr=12
  23. POSTHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
  24. POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=12).key SIMPLE [(srcpart)srcpart.FieldSchema(name:key, type:string, comment:default), ]
  25. POSTHOOK: Lineage: tstsrcpart PARTITION(ds=2008-04-08,hr=12).value SIMPLE [(srcpart)srcpart.FieldSchema(name:value, type:string, comment:default), ]
  26. PREHOOK: query: ALTER TABLE tstsrcpart UNARCHIVE PARTITION (ds='2008-04-08', hr='12')
  27. PREHOOK: type: ALTERTABLE_UNARCHIVE
  28. PREHOOK: Input: default@tstsrcpart
  29. PREHOOK: Output: default@tstsrcpart@ds=2008-04-08/hr=12
  30. FAILED: Error in metadata: Specified partition is not archived
  31. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask