PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.2.0-rc0/hive/external/ql/src/test/results/clientpositive/nullgroup.q.out

#
text | 296 lines | 275 code | 21 blank | 0 comment | 0 complexity | 1dfc528b09395da7a1419a51f370c435 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: explain
  2. select count(1) from src x where x.key > 9999
  3. PREHOOK: type: QUERY
  4. POSTHOOK: query: explain
  5. select count(1) from src x where x.key > 9999
  6. POSTHOOK: type: QUERY
  7. ABSTRACT SYNTAX TREE:
  8. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))
  9. STAGE DEPENDENCIES:
  10. Stage-1 is a root stage
  11. Stage-0 is a root stage
  12. STAGE PLANS:
  13. Stage: Stage-1
  14. Map Reduce
  15. Alias -> Map Operator Tree:
  16. x
  17. TableScan
  18. alias: x
  19. Filter Operator
  20. predicate:
  21. expr: (key > 9999)
  22. type: boolean
  23. Select Operator
  24. Group By Operator
  25. aggregations:
  26. expr: count(1)
  27. bucketGroup: false
  28. mode: hash
  29. outputColumnNames: _col0
  30. Reduce Output Operator
  31. sort order:
  32. tag: -1
  33. value expressions:
  34. expr: _col0
  35. type: bigint
  36. Reduce Operator Tree:
  37. Group By Operator
  38. aggregations:
  39. expr: count(VALUE._col0)
  40. bucketGroup: false
  41. mode: final
  42. outputColumnNames: _col0
  43. Select Operator
  44. expressions:
  45. expr: _col0
  46. type: bigint
  47. outputColumnNames: _col0
  48. File Output Operator
  49. compressed: false
  50. GlobalTableId: 0
  51. table:
  52. input format: org.apache.hadoop.mapred.TextInputFormat
  53. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  54. Stage: Stage-0
  55. Fetch Operator
  56. limit: -1
  57. PREHOOK: query: select count(1) from src x where x.key > 9999
  58. PREHOOK: type: QUERY
  59. PREHOOK: Input: default@src
  60. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-05_987_7125324557383069718/-mr-10000
  61. POSTHOOK: query: select count(1) from src x where x.key > 9999
  62. POSTHOOK: type: QUERY
  63. POSTHOOK: Input: default@src
  64. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-05_987_7125324557383069718/-mr-10000
  65. 0
  66. PREHOOK: query: explain
  67. select count(1) from src x where x.key > 9999
  68. PREHOOK: type: QUERY
  69. POSTHOOK: query: explain
  70. select count(1) from src x where x.key > 9999
  71. POSTHOOK: type: QUERY
  72. ABSTRACT SYNTAX TREE:
  73. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))
  74. STAGE DEPENDENCIES:
  75. Stage-1 is a root stage
  76. Stage-0 is a root stage
  77. STAGE PLANS:
  78. Stage: Stage-1
  79. Map Reduce
  80. Alias -> Map Operator Tree:
  81. x
  82. TableScan
  83. alias: x
  84. Filter Operator
  85. predicate:
  86. expr: (key > 9999)
  87. type: boolean
  88. Select Operator
  89. Group By Operator
  90. aggregations:
  91. expr: count(1)
  92. bucketGroup: false
  93. mode: hash
  94. outputColumnNames: _col0
  95. Reduce Output Operator
  96. sort order:
  97. tag: -1
  98. value expressions:
  99. expr: _col0
  100. type: bigint
  101. Reduce Operator Tree:
  102. Group By Operator
  103. aggregations:
  104. expr: count(VALUE._col0)
  105. bucketGroup: false
  106. mode: mergepartial
  107. outputColumnNames: _col0
  108. Select Operator
  109. expressions:
  110. expr: _col0
  111. type: bigint
  112. outputColumnNames: _col0
  113. File Output Operator
  114. compressed: false
  115. GlobalTableId: 0
  116. table:
  117. input format: org.apache.hadoop.mapred.TextInputFormat
  118. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  119. Stage: Stage-0
  120. Fetch Operator
  121. limit: -1
  122. PREHOOK: query: select count(1) from src x where x.key > 9999
  123. PREHOOK: type: QUERY
  124. PREHOOK: Input: default@src
  125. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-09_467_3203831239428624173/-mr-10000
  126. POSTHOOK: query: select count(1) from src x where x.key > 9999
  127. POSTHOOK: type: QUERY
  128. POSTHOOK: Input: default@src
  129. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-09_467_3203831239428624173/-mr-10000
  130. 0
  131. PREHOOK: query: explain
  132. select count(1) from src x where x.key > 9999
  133. PREHOOK: type: QUERY
  134. POSTHOOK: query: explain
  135. select count(1) from src x where x.key > 9999
  136. POSTHOOK: type: QUERY
  137. ABSTRACT SYNTAX TREE:
  138. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))
  139. STAGE DEPENDENCIES:
  140. Stage-1 is a root stage
  141. Stage-2 depends on stages: Stage-1
  142. Stage-0 is a root stage
  143. STAGE PLANS:
  144. Stage: Stage-1
  145. Map Reduce
  146. Alias -> Map Operator Tree:
  147. x
  148. TableScan
  149. alias: x
  150. Filter Operator
  151. predicate:
  152. expr: (key > 9999)
  153. type: boolean
  154. Select Operator
  155. Reduce Output Operator
  156. sort order:
  157. Map-reduce partition columns:
  158. expr: rand()
  159. type: double
  160. tag: -1
  161. value expressions:
  162. expr: 1
  163. type: int
  164. Reduce Operator Tree:
  165. Group By Operator
  166. aggregations:
  167. expr: count(VALUE._col0)
  168. bucketGroup: false
  169. mode: partial1
  170. outputColumnNames: _col0
  171. File Output Operator
  172. compressed: false
  173. GlobalTableId: 0
  174. table:
  175. input format: org.apache.hadoop.mapred.SequenceFileInputFormat
  176. output format: org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat
  177. Stage: Stage-2
  178. Map Reduce
  179. Alias -> Map Operator Tree:
  180. file:/tmp/sdong/hive_2011-02-10_16-47-12_863_4013349726685139826/-mr-10002
  181. Reduce Output Operator
  182. sort order:
  183. tag: -1
  184. value expressions:
  185. expr: _col0
  186. type: bigint
  187. Reduce Operator Tree:
  188. Group By Operator
  189. aggregations:
  190. expr: count(VALUE._col0)
  191. bucketGroup: false
  192. mode: final
  193. outputColumnNames: _col0
  194. Select Operator
  195. expressions:
  196. expr: _col0
  197. type: bigint
  198. outputColumnNames: _col0
  199. File Output Operator
  200. compressed: false
  201. GlobalTableId: 0
  202. table:
  203. input format: org.apache.hadoop.mapred.TextInputFormat
  204. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  205. Stage: Stage-0
  206. Fetch Operator
  207. limit: -1
  208. PREHOOK: query: select count(1) from src x where x.key > 9999
  209. PREHOOK: type: QUERY
  210. PREHOOK: Input: default@src
  211. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-12_945_380649354162948794/-mr-10000
  212. POSTHOOK: query: select count(1) from src x where x.key > 9999
  213. POSTHOOK: type: QUERY
  214. POSTHOOK: Input: default@src
  215. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-12_945_380649354162948794/-mr-10000
  216. 0
  217. PREHOOK: query: explain
  218. select count(1) from src x where x.key > 9999
  219. PREHOOK: type: QUERY
  220. POSTHOOK: query: explain
  221. select count(1) from src x where x.key > 9999
  222. POSTHOOK: type: QUERY
  223. ABSTRACT SYNTAX TREE:
  224. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src) x)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION count 1))) (TOK_WHERE (> (. (TOK_TABLE_OR_COL x) key) 9999))))
  225. STAGE DEPENDENCIES:
  226. Stage-1 is a root stage
  227. Stage-0 is a root stage
  228. STAGE PLANS:
  229. Stage: Stage-1
  230. Map Reduce
  231. Alias -> Map Operator Tree:
  232. x
  233. TableScan
  234. alias: x
  235. Filter Operator
  236. predicate:
  237. expr: (key > 9999)
  238. type: boolean
  239. Select Operator
  240. Reduce Output Operator
  241. sort order:
  242. tag: -1
  243. value expressions:
  244. expr: 1
  245. type: int
  246. Reduce Operator Tree:
  247. Group By Operator
  248. aggregations:
  249. expr: count(VALUE._col0)
  250. bucketGroup: false
  251. mode: complete
  252. outputColumnNames: _col0
  253. Select Operator
  254. expressions:
  255. expr: _col0
  256. type: bigint
  257. outputColumnNames: _col0
  258. File Output Operator
  259. compressed: false
  260. GlobalTableId: 0
  261. table:
  262. input format: org.apache.hadoop.mapred.TextInputFormat
  263. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  264. Stage: Stage-0
  265. Fetch Operator
  266. limit: -1
  267. PREHOOK: query: select count(1) from src x where x.key > 9999
  268. PREHOOK: type: QUERY
  269. PREHOOK: Input: default@src
  270. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-19_535_5224359427851170423/-mr-10000
  271. POSTHOOK: query: select count(1) from src x where x.key > 9999
  272. POSTHOOK: type: QUERY
  273. POSTHOOK: Input: default@src
  274. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-47-19_535_5224359427851170423/-mr-10000
  275. 0