/branches/branch-0.2/hive/external/ql/src/test/results/clientpositive/stats3.q.out

# · text · 150 lines · 149 code · 1 blank · 0 comment · 0 complexity · 59d36682bc3745541a6e32d7a06511fb MD5 · raw file

  1. PREHOOK: query: drop table hive_test_src
  2. PREHOOK: type: DROPTABLE
  3. POSTHOOK: query: drop table hive_test_src
  4. POSTHOOK: type: DROPTABLE
  5. PREHOOK: query: drop table hive_test_dst
  6. PREHOOK: type: DROPTABLE
  7. POSTHOOK: query: drop table hive_test_dst
  8. POSTHOOK: type: DROPTABLE
  9. PREHOOK: query: create table hive_test_src ( col1 string ) stored as textfile
  10. PREHOOK: type: CREATETABLE
  11. POSTHOOK: query: create table hive_test_src ( col1 string ) stored as textfile
  12. POSTHOOK: type: CREATETABLE
  13. POSTHOOK: Output: default@hive_test_src
  14. PREHOOK: query: load data local inpath '../data/files/test.dat' overwrite into table hive_test_src
  15. PREHOOK: type: LOAD
  16. PREHOOK: Output: default@hive_test_src
  17. POSTHOOK: query: load data local inpath '../data/files/test.dat' overwrite into table hive_test_src
  18. POSTHOOK: type: LOAD
  19. POSTHOOK: Output: default@hive_test_src
  20. PREHOOK: query: create table hive_test_dst ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile
  21. PREHOOK: type: CREATETABLE
  22. POSTHOOK: query: create table hive_test_dst ( col1 string ) partitioned by ( pcol1 string , pcol2 string) stored as sequencefile
  23. POSTHOOK: type: CREATETABLE
  24. POSTHOOK: Output: default@hive_test_dst
  25. PREHOOK: query: insert overwrite table hive_test_dst partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src
  26. PREHOOK: type: QUERY
  27. PREHOOK: Input: default@hive_test_src
  28. PREHOOK: Output: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  29. POSTHOOK: query: insert overwrite table hive_test_dst partition ( pcol1='test_part', pCol2='test_Part') select col1 from hive_test_src
  30. POSTHOOK: type: QUERY
  31. POSTHOOK: Input: default@hive_test_src
  32. POSTHOOK: Output: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  33. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  34. PREHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_Part'
  35. PREHOOK: type: QUERY
  36. PREHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  37. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-28_652_6586721606321003478/-mr-10000
  38. POSTHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_Part'
  39. POSTHOOK: type: QUERY
  40. POSTHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  41. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-28_652_6586721606321003478/-mr-10000
  42. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  43. 1 test_part test_Part
  44. 2 test_part test_Part
  45. 3 test_part test_Part
  46. 4 test_part test_Part
  47. 5 test_part test_Part
  48. 6 test_part test_Part
  49. PREHOOK: query: select count(1) from hive_test_dst
  50. PREHOOK: type: QUERY
  51. PREHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  52. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-28_776_220190187790387003/-mr-10000
  53. POSTHOOK: query: select count(1) from hive_test_dst
  54. POSTHOOK: type: QUERY
  55. POSTHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  56. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-28_776_220190187790387003/-mr-10000
  57. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  58. 6
  59. PREHOOK: query: insert overwrite table hive_test_dst partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src
  60. PREHOOK: type: QUERY
  61. PREHOOK: Input: default@hive_test_src
  62. PREHOOK: Output: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  63. POSTHOOK: query: insert overwrite table hive_test_dst partition ( pCol1='test_part', pcol2='test_Part') select col1 from hive_test_src
  64. POSTHOOK: type: QUERY
  65. POSTHOOK: Input: default@hive_test_src
  66. POSTHOOK: Output: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  67. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  68. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  69. PREHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'
  70. PREHOOK: type: QUERY
  71. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-36_044_8444747323785684087/-mr-10000
  72. POSTHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'
  73. POSTHOOK: type: QUERY
  74. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-36_044_8444747323785684087/-mr-10000
  75. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  76. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  77. PREHOOK: query: select count(1) from hive_test_dst
  78. PREHOOK: type: QUERY
  79. PREHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  80. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-36_081_7812855910433487408/-mr-10000
  81. POSTHOOK: query: select count(1) from hive_test_dst
  82. POSTHOOK: type: QUERY
  83. POSTHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  84. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-36_081_7812855910433487408/-mr-10000
  85. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  86. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  87. 6
  88. PREHOOK: query: select * from hive_test_dst where pcol1='test_part'
  89. PREHOOK: type: QUERY
  90. PREHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  91. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_072_3368639497562855026/-mr-10000
  92. POSTHOOK: query: select * from hive_test_dst where pcol1='test_part'
  93. POSTHOOK: type: QUERY
  94. POSTHOOK: Input: default@hive_test_dst@pcol1=test_part/pcol2=test_Part
  95. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_072_3368639497562855026/-mr-10000
  96. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  97. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  98. 1 test_part test_Part
  99. 2 test_part test_Part
  100. 3 test_part test_Part
  101. 4 test_part test_Part
  102. 5 test_part test_Part
  103. 6 test_part test_Part
  104. PREHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'
  105. PREHOOK: type: QUERY
  106. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_191_1429175641027987882/-mr-10000
  107. POSTHOOK: query: select * from hive_test_dst where pcol1='test_part' and pcol2='test_part'
  108. POSTHOOK: type: QUERY
  109. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_191_1429175641027987882/-mr-10000
  110. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  111. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  112. PREHOOK: query: select * from hive_test_dst where pcol1='test_Part'
  113. PREHOOK: type: QUERY
  114. PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_229_5765689340005511689/-mr-10000
  115. POSTHOOK: query: select * from hive_test_dst where pcol1='test_Part'
  116. POSTHOOK: type: QUERY
  117. POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_05-22-39_229_5765689340005511689/-mr-10000
  118. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  119. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  120. PREHOOK: query: describe extended hive_test_dst
  121. PREHOOK: type: DESCTABLE
  122. POSTHOOK: query: describe extended hive_test_dst
  123. POSTHOOK: type: DESCTABLE
  124. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  125. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  126. col1 string
  127. pcol1 string
  128. pcol2 string
  129. Detailed Table Information Table(tableName:hive_test_dst, dbName:default, owner:krishnak, createTime:1300710144, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col1, type:string, comment:null), FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], location:pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/warehouse/hive_test_dst, inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[FieldSchema(name:pcol1, type:string, comment:null), FieldSchema(name:pcol2, type:string, comment:null)], parameters:{numPartitions=1, numFiles=1, transient_lastDdlTime=1300710155, numRows=6, totalSize=171}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)
  130. PREHOOK: query: drop table hive_test_src
  131. PREHOOK: type: DROPTABLE
  132. PREHOOK: Input: default@hive_test_src
  133. PREHOOK: Output: default@hive_test_src
  134. POSTHOOK: query: drop table hive_test_src
  135. POSTHOOK: type: DROPTABLE
  136. POSTHOOK: Input: default@hive_test_src
  137. POSTHOOK: Output: default@hive_test_src
  138. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  139. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  140. PREHOOK: query: drop table hive_test_dst
  141. PREHOOK: type: DROPTABLE
  142. PREHOOK: Input: default@hive_test_dst
  143. PREHOOK: Output: default@hive_test_dst
  144. POSTHOOK: query: drop table hive_test_dst
  145. POSTHOOK: type: DROPTABLE
  146. POSTHOOK: Input: default@hive_test_dst
  147. POSTHOOK: Output: default@hive_test_dst
  148. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]
  149. POSTHOOK: Lineage: hive_test_dst PARTITION(pcol1=test_part,pcol2=test_Part).col1 SIMPLE [(hive_test_src)hive_test_src.FieldSchema(name:col1, type:string, comment:null), ]