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

/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/select_transform_hint.q

#
text | 24 lines | 18 code | 6 blank | 0 comment | 0 complexity | 31216f6baa61d6e6595941b014e81004 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. EXPLAIN
  2. SELECT /*+MAPJOIN(a)*/
  3. TRANSFORM(a.key, a.value) USING '/bin/cat' AS (tkey, tvalue)
  4. FROM src a join src b
  5. on a.key = b.key;
  6. SELECT /*+MAPJOIN(a)*/
  7. TRANSFORM(a.key, a.value) USING '/bin/cat' AS (tkey, tvalue)
  8. FROM src a join src b
  9. on a.key = b.key;
  10. EXPLAIN
  11. SELECT /*+STREAMTABLE(a)*/
  12. TRANSFORM(a.key, a.value) USING '/bin/cat' AS (tkey, tvalue)
  13. FROM src a join src b
  14. on a.key = b.key;
  15. SELECT /*+STREAMTABLE(a)*/
  16. TRANSFORM(a.key, a.value) USING '/bin/cat' AS (tkey, tvalue)
  17. FROM src a join src b
  18. on a.key = b.key;