PageRenderTime 40ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
text | 98 lines | 93 code | 5 blank | 0 comment | 0 complexity | 1baf682cc1a4c2a6ad10e20f6884b6f3 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE
  2. PREHOOK: type: CREATETABLE
  3. POSTHOOK: query: CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE
  4. POSTHOOK: type: CREATETABLE
  5. POSTHOOK: Output: default@dest1
  6. PREHOOK: query: FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86
  7. PREHOOK: type: QUERY
  8. PREHOOK: Input: default@src
  9. PREHOOK: Output: default@dest1
  10. POSTHOOK: query: FROM src INSERT OVERWRITE TABLE dest1 SELECT ' abc ' WHERE src.key = 86
  11. POSTHOOK: type: QUERY
  12. POSTHOOK: Input: default@src
  13. POSTHOOK: Output: default@dest1
  14. POSTHOOK: Lineage: dest1.c1 SIMPLE []
  15. PREHOOK: query: EXPLAIN
  16. SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1
  17. PREHOOK: type: QUERY
  18. POSTHOOK: query: EXPLAIN
  19. SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1
  20. POSTHOOK: type: QUERY
  21. POSTHOOK: Lineage: dest1.c1 SIMPLE []
  22. ABSTRACT SYNTAX TREE:
  23. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME dest1))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_FUNCTION round 1.0)) (TOK_SELEXPR (TOK_FUNCTION round 1.5)) (TOK_SELEXPR (TOK_FUNCTION round (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION floor 1.0)) (TOK_SELEXPR (TOK_FUNCTION floor 1.5)) (TOK_SELEXPR (TOK_FUNCTION floor (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION sqrt 1.0)) (TOK_SELEXPR (TOK_FUNCTION sqrt (- 1.0))) (TOK_SELEXPR (TOK_FUNCTION sqrt 0.0)) (TOK_SELEXPR (TOK_FUNCTION ceil 1.0)) (TOK_SELEXPR (TOK_FUNCTION ceil 1.5)) (TOK_SELEXPR (TOK_FUNCTION ceil (- 1.5))) (TOK_SELEXPR (TOK_FUNCTION ceiling 1.0)) (TOK_SELEXPR (TOK_FUNCTION rand 3)) (TOK_SELEXPR (+ 3)) (TOK_SELEXPR (- 3)) (TOK_SELEXPR (+ 1 (+ 2))) (TOK_SELEXPR (+ 1 (- 2))) (TOK_SELEXPR (~ 1)))))
  24. STAGE DEPENDENCIES:
  25. Stage-1 is a root stage
  26. Stage-0 is a root stage
  27. STAGE PLANS:
  28. Stage: Stage-1
  29. Map Reduce
  30. Alias -> Map Operator Tree:
  31. dest1
  32. TableScan
  33. alias: dest1
  34. Select Operator
  35. expressions:
  36. expr: round(1.0)
  37. type: bigint
  38. expr: round(1.5)
  39. type: bigint
  40. expr: round((- 1.5))
  41. type: bigint
  42. expr: floor(1.0)
  43. type: bigint
  44. expr: floor(1.5)
  45. type: bigint
  46. expr: floor((- 1.5))
  47. type: bigint
  48. expr: sqrt(1.0)
  49. type: double
  50. expr: sqrt((- 1.0))
  51. type: double
  52. expr: sqrt(0.0)
  53. type: double
  54. expr: ceil(1.0)
  55. type: bigint
  56. expr: ceil(1.5)
  57. type: bigint
  58. expr: ceil((- 1.5))
  59. type: bigint
  60. expr: ceiling(1.0)
  61. type: bigint
  62. expr: rand(3)
  63. type: double
  64. expr: 3
  65. type: int
  66. expr: (- 3)
  67. type: int
  68. expr: (1 + 2)
  69. type: int
  70. expr: (1 + (- 2))
  71. type: int
  72. expr: (~ 1)
  73. type: int
  74. outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13, _col14, _col15, _col16, _col17, _col18
  75. File Output Operator
  76. compressed: false
  77. GlobalTableId: 0
  78. table:
  79. input format: org.apache.hadoop.mapred.TextInputFormat
  80. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  81. Stage: Stage-0
  82. Fetch Operator
  83. limit: -1
  84. PREHOOK: query: SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1
  85. PREHOOK: type: QUERY
  86. PREHOOK: Input: default@dest1
  87. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-28-37_861_8652505512736578305/-mr-10000
  88. POSTHOOK: query: SELECT round(1.0), round(1.5), round(-1.5), floor(1.0), floor(1.5), floor(-1.5), sqrt(1.0), sqrt(-1.0), sqrt(0.0), ceil(1.0), ceil(1.5), ceil(-1.5), ceiling(1.0), rand(3), +3, -3, 1++2, 1+-2, ~1 FROM dest1
  89. POSTHOOK: type: QUERY
  90. POSTHOOK: Input: default@dest1
  91. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-28-37_861_8652505512736578305/-mr-10000
  92. POSTHOOK: Lineage: dest1.c1 SIMPLE []
  93. 1 2 -2 1 1 -2 1.0 NULL 0.0 1 2 -1 1 0.731057369148862 3 -3 3 -1 -2