/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
- create table tst(a string, b string) partitioned by (d string);
- alter table tst add partition (d='2009-01-01');
- insert overwrite table tst partition(d='2009-01-01')
- select tst.a, src.value from tst join src ON (tst.a = src.key);
- select * from tst where tst.d='2009-01-01';