PageRenderTime 797ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
text | 35 lines | 25 code | 10 blank | 0 comment | 0 complexity | 97d21eb9b86d0cfee5c1dfc43afa2475 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. EXPLAIN
  2. SELECT * FROM srcpart;
  3. EXPLAIN
  4. SELECT `..` FROM srcpart;
  5. EXPLAIN
  6. SELECT srcpart.`..` FROM srcpart;
  7. EXPLAIN
  8. SELECT `..` FROM srcpart a JOIN srcpart b
  9. ON a.key = b.key AND a.value = b.value;
  10. EXPLAIN
  11. SELECT b.`..` FROM srcpart a JOIN srcpart b
  12. ON a.key = b.key AND a.hr = b.hr AND a.ds = b.ds AND a.key = 103
  13. ORDER BY ds, hr;
  14. SELECT b.`..` FROM srcpart a JOIN srcpart b
  15. ON a.key = b.key AND a.hr = b.hr AND a.ds = b.ds AND a.key = 103
  16. ORDER BY ds, hr;
  17. EXPLAIN
  18. SELECT `.e.` FROM srcpart;
  19. EXPLAIN
  20. SELECT `d.*` FROM srcpart;
  21. EXPLAIN
  22. SELECT `(ds)?+.+` FROM srcpart;
  23. EXPLAIN
  24. SELECT `(ds|hr)?+.+` FROM srcpart ORDER BY key, value LIMIT 10;
  25. SELECT `(ds|hr)?+.+` FROM srcpart ORDER BY key, value LIMIT 10;