PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
text | 129 lines | 124 code | 5 blank | 0 comment | 0 complexity | edb752b73d6050f51d3ef2b241c84bc1 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. PREHOOK: query: EXPLAIN
  2. FROM
  3. src a
  4. LEFT OUTER JOIN
  5. src b
  6. ON (a.key = b.key)
  7. SELECT a.key, a.value, b.key, b.value
  8. WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  9. PREHOOK: type: QUERY
  10. POSTHOOK: query: EXPLAIN
  11. FROM
  12. src a
  13. LEFT OUTER JOIN
  14. src b
  15. ON (a.key = b.key)
  16. SELECT a.key, a.value, b.key, b.value
  17. WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  18. POSTHOOK: type: QUERY
  19. ABSTRACT SYNTAX TREE:
  20. (TOK_QUERY (TOK_FROM (TOK_LEFTOUTERJOIN (TOK_TABREF (TOK_TABNAME src) a) (TOK_TABREF (TOK_TABNAME src) b) (= (. (TOK_TABLE_OR_COL a) key) (. (TOK_TABLE_OR_COL b) key)))) (TOK_INSERT (TOK_DESTINATION (TOK_DIR TOK_TMP_FILE)) (TOK_SELECT (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL a) value)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) key)) (TOK_SELEXPR (. (TOK_TABLE_OR_COL b) value))) (TOK_WHERE (AND (AND (AND (> (. (TOK_TABLE_OR_COL a) key) 10) (< (. (TOK_TABLE_OR_COL a) key) 20)) (> (. (TOK_TABLE_OR_COL b) key) 15)) (< (. (TOK_TABLE_OR_COL b) key) 25)))))
  21. STAGE DEPENDENCIES:
  22. Stage-1 is a root stage
  23. Stage-0 is a root stage
  24. STAGE PLANS:
  25. Stage: Stage-1
  26. Map Reduce
  27. Alias -> Map Operator Tree:
  28. a
  29. TableScan
  30. alias: a
  31. Filter Operator
  32. predicate:
  33. expr: ((key > 10) and (key < 20))
  34. type: boolean
  35. Reduce Output Operator
  36. key expressions:
  37. expr: key
  38. type: string
  39. sort order: +
  40. Map-reduce partition columns:
  41. expr: key
  42. type: string
  43. tag: 0
  44. value expressions:
  45. expr: key
  46. type: string
  47. expr: value
  48. type: string
  49. b
  50. TableScan
  51. alias: b
  52. Reduce Output Operator
  53. key expressions:
  54. expr: key
  55. type: string
  56. sort order: +
  57. Map-reduce partition columns:
  58. expr: key
  59. type: string
  60. tag: 1
  61. value expressions:
  62. expr: key
  63. type: string
  64. expr: value
  65. type: string
  66. Reduce Operator Tree:
  67. Join Operator
  68. condition map:
  69. Left Outer Join0 to 1
  70. condition expressions:
  71. 0 {VALUE._col0} {VALUE._col1}
  72. 1 {VALUE._col0} {VALUE._col1}
  73. handleSkewJoin: false
  74. outputColumnNames: _col0, _col1, _col4, _col5
  75. Filter Operator
  76. predicate:
  77. expr: ((((_col0 > 10) and (_col0 < 20)) and (_col4 > 15)) and (_col4 < 25))
  78. type: boolean
  79. Select Operator
  80. expressions:
  81. expr: _col0
  82. type: string
  83. expr: _col1
  84. type: string
  85. expr: _col4
  86. type: string
  87. expr: _col5
  88. type: string
  89. outputColumnNames: _col0, _col1, _col2, _col3
  90. File Output Operator
  91. compressed: false
  92. GlobalTableId: 0
  93. table:
  94. input format: org.apache.hadoop.mapred.TextInputFormat
  95. output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
  96. Stage: Stage-0
  97. Fetch Operator
  98. limit: -1
  99. PREHOOK: query: FROM
  100. src a
  101. LEFT OUTER JOIN
  102. src b
  103. ON (a.key = b.key)
  104. SELECT a.key, a.value, b.key, b.value
  105. WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  106. PREHOOK: type: QUERY
  107. PREHOOK: Input: default@src
  108. PREHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-57-14_648_6362739881959261544/-mr-10000
  109. POSTHOOK: query: FROM
  110. src a
  111. LEFT OUTER JOIN
  112. src b
  113. ON (a.key = b.key)
  114. SELECT a.key, a.value, b.key, b.value
  115. WHERE a.key > 10 AND a.key < 20 AND b.key > 15 AND b.key < 25
  116. POSTHOOK: type: QUERY
  117. POSTHOOK: Input: default@src
  118. POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-10_16-57-14_648_6362739881959261544/-mr-10000
  119. 17 val_17 17 val_17
  120. 18 val_18 18 val_18
  121. 18 val_18 18 val_18
  122. 18 val_18 18 val_18
  123. 18 val_18 18 val_18
  124. 19 val_19 19 val_19