PageRenderTime 75ms CodeModel.GetById 5ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
text | 144 lines | 134 code | 10 blank | 0 comment | 0 complexity | 2c2c3d6aef9891e52a8d1bba9c27373c MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the operator a small amount of data
  2. EXPLAIN SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
  3. PREHOOK: type: QUERY
  4. POSTHOOK: query: -- Tests exception in ScriptOperator.close() by passing to the operator a small amount of data
  5. EXPLAIN SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
  6. POSTHOOK: type: QUERY
  7. ABSTRACT SYNTAX TREE:
  8. (TOK_QUERY (TOK_FROM (TOK_SUBQUERY (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR TOK_ALLCOLREF)) (TOK_LIMIT 1))) tmp)) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST TOK_ALLCOLREF) TOK_SERDE TOK_RECORDWRITER 'true' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST a b c))))))
  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. tmp:src
  17. TableScan
  18. alias: src
  19. Select Operator
  20. expressions:
  21. expr: key
  22. type: string
  23. expr: value
  24. type: string
  25. outputColumnNames: _col0, _col1
  26. Limit
  27. Reduce Output Operator
  28. sort order:
  29. tag: -1
  30. value expressions:
  31. expr: _col0
  32. type: string
  33. expr: _col1
  34. type: string
  35. Reduce Operator Tree:
  36. Extract
  37. Limit
  38. Select Operator
  39. expressions:
  40. expr: _col0
  41. type: string
  42. expr: _col1
  43. type: string
  44. outputColumnNames: _col0, _col1
  45. Transform Operator
  46. command: true
  47. output info:
  48. input format: org.apache.hadoop.mapred.TextInputFormat
  49. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  50. File Output Operator
  51. compressed: false
  52. GlobalTableId: 0
  53. table:
  54. input format: org.apache.hadoop.mapred.TextInputFormat
  55. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  56. Stage: Stage-0
  57. Fetch Operator
  58. limit: -1
  59. PREHOOK: query: -- Tests exception in ScriptOperator.processOp() by passing extra data needed to fill pipe buffer
  60. EXPLAIN SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src
  61. PREHOOK: type: QUERY
  62. POSTHOOK: query: -- Tests exception in ScriptOperator.processOp() by passing extra data needed to fill pipe buffer
  63. EXPLAIN SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src
  64. POSTHOOK: type: QUERY
  65. ABSTRACT SYNTAX TREE:
  66. (TOK_QUERY (TOK_FROM (TOK_TABREF (TOK_TABNAME src))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (TOK_TRANSFORM (TOK_EXPLIST (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value) (TOK_TABLE_OR_COL key) (TOK_TABLE_OR_COL value)) TOK_SERDE TOK_RECORDWRITER 'head -n 1' TOK_SERDE TOK_RECORDREADER (TOK_ALIASLIST a b c d))))))
  67. STAGE DEPENDENCIES:
  68. Stage-1 is a root stage
  69. Stage-0 is a root stage
  70. STAGE PLANS:
  71. Stage: Stage-1
  72. Map Reduce
  73. Alias -> Map Operator Tree:
  74. src
  75. TableScan
  76. alias: src
  77. Select Operator
  78. expressions:
  79. expr: key
  80. type: string
  81. expr: value
  82. type: string
  83. expr: key
  84. type: string
  85. expr: value
  86. type: string
  87. expr: key
  88. type: string
  89. expr: value
  90. type: string
  91. expr: key
  92. type: string
  93. expr: value
  94. type: string
  95. expr: key
  96. type: string
  97. expr: value
  98. type: string
  99. expr: key
  100. type: string
  101. expr: value
  102. type: string
  103. outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11
  104. Transform Operator
  105. command: head -n 1
  106. output info:
  107. input format: org.apache.hadoop.mapred.TextInputFormat
  108. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  109. File Output Operator
  110. compressed: false
  111. GlobalTableId: 0
  112. table:
  113. input format: org.apache.hadoop.mapred.TextInputFormat
  114. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  115. Stage: Stage-0
  116. Fetch Operator
  117. limit: -1
  118. PREHOOK: query: SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
  119. PREHOOK: type: QUERY
  120. PREHOOK: Input: default@src
  121. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-04-24_464_8912984348360732907/-mr-10000
  122. POSTHOOK: query: SELECT TRANSFORM(*) USING 'true' AS a, b, c FROM (SELECT * FROM src LIMIT 1) tmp
  123. POSTHOOK: type: QUERY
  124. POSTHOOK: Input: default@src
  125. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-04-24_464_8912984348360732907/-mr-10000
  126. PREHOOK: query: SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src
  127. PREHOOK: type: QUERY
  128. PREHOOK: Input: default@src
  129. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-04-27_817_7785884157237702561/-mr-10000
  130. POSTHOOK: query: SELECT TRANSFORM(key, value, key, value, key, value, key, value, key, value, key, value) USING 'head -n 1' as a,b,c,d FROM src
  131. POSTHOOK: type: QUERY
  132. POSTHOOK: Input: default@src
  133. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_17-04-27_817_7785884157237702561/-mr-10000
  134. 238 val_238 238 val_238