/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientnegative/lockneg4.q
text | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | ad34712f8c07d8a3ea8729a9483a6069 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
- drop table tstsrcpart;
- create table tstsrcpart like srcpart;
- insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='11')
- select key, value from srcpart where ds='2008-04-08' and hr='11';
- LOCK TABLE tstsrcpart PARTITION(ds='2008-04-08', hr='11') EXCLUSIVE;
- SHOW LOCKS tstsrcpart PARTITION(ds='2008-04-08', hr='12');