PageRenderTime 53ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
text | 10 lines | 5 code | 5 blank | 0 comment | 0 complexity | bf1dd5edd14290e13cd2c0212ac23b89 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. create table tst(a string, b string) partitioned by (d string);
  2. alter table tst add partition (d='2009-01-01');
  3. insert overwrite table tst partition(d='2009-01-01')
  4. select tst.a, src.value from tst join src ON (tst.a = src.key);
  5. select * from tst where tst.d='2009-01-01';