PageRenderTime 88ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/release-0.0.0-rc0/hive/external/ql/src/test/results/clientpositive/num_op_type_conv.q.out

#
text | 67 lines | 62 code | 5 blank | 0 comment | 0 complexity | c8dcf158b08588bfa49fe20f8bc046d7 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: EXPLAIN SELECT null + 7, 1.0 - null, null + null,
  2. CAST(21 AS BIGINT) % CAST(5 AS TINYINT),
  3. CAST(21 AS BIGINT) % CAST(21 AS BIGINT),
  4. 9 % "3" FROM src LIMIT 1
  5. PREHOOK: type: QUERY
  6. POSTHOOK: query: EXPLAIN SELECT null + 7, 1.0 - null, null + null,
  7. CAST(21 AS BIGINT) % CAST(5 AS TINYINT),
  8. CAST(21 AS BIGINT) % CAST(21 AS BIGINT),
  9. 9 % "3" FROM src LIMIT 1
  10. POSTHOOK: type: QUERY
  11. ABSTRACT SYNTAX TREE:
  12. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (+ TOK_NULL 7)) (TOK_SELEXPR (- 1.0 TOK_NULL)) (TOK_SELEXPR (+ TOK_NULL TOK_NULL)) (TOK_SELEXPR (% (TOK_FUNCTION TOK_BIGINT 21) (TOK_FUNCTION TOK_TINYINT 5))) (TOK_SELEXPR (% (TOK_FUNCTION TOK_BIGINT 21) (TOK_FUNCTION TOK_BIGINT 21))) (TOK_SELEXPR (% 9 "3"))) (TOK_LIMIT 1)))
  13. STAGE DEPENDENCIES:
  14. Stage-1 is a root stage
  15. Stage-0 is a root stage
  16. STAGE PLANS:
  17. Stage: Stage-1
  18. Map Reduce
  19. Alias -> Map Operator Tree:
  20. src
  21. TableScan
  22. alias: src
  23. Select Operator
  24. expressions:
  25. expr: (null + 7)
  26. type: int
  27. expr: (1.0 - null)
  28. type: double
  29. expr: (null + null)
  30. type: tinyint
  31. expr: (UDFToLong(21) % UDFToByte(5))
  32. type: bigint
  33. expr: (UDFToLong(21) % UDFToLong(21))
  34. type: bigint
  35. expr: (9 % '3')
  36. type: double
  37. outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
  38. Limit
  39. File Output Operator
  40. compressed: false
  41. GlobalTableId: 0
  42. table:
  43. input format: org.apache.hadoop.mapred.TextInputFormat
  44. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  45. Stage: Stage-0
  46. Fetch Operator
  47. limit: 1
  48. PREHOOK: query: SELECT null + 7, 1.0 - null, null + null,
  49. CAST(21 AS BIGINT) % CAST(5 AS TINYINT),
  50. CAST(21 AS BIGINT) % CAST(21 AS BIGINT),
  51. 9 % "3" FROM src LIMIT 1
  52. PREHOOK: type: QUERY
  53. PREHOOK: Input: default@src
  54. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-48-55_797_7464570094193374274/-mr-10000
  55. POSTHOOK: query: SELECT null + 7, 1.0 - null, null + null,
  56. CAST(21 AS BIGINT) % CAST(5 AS TINYINT),
  57. CAST(21 AS BIGINT) % CAST(21 AS BIGINT),
  58. 9 % "3" FROM src LIMIT 1
  59. POSTHOOK: type: QUERY
  60. POSTHOOK: Input: default@src
  61. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-48-55_797_7464570094193374274/-mr-10000
  62. NULL NULL NULL 1 0 0.0