PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1drop table tstsrcpart;
2create table tstsrcpart like srcpart;
3
4insert overwrite table tstsrcpart partition (ds='2008-04-08', hr='11')
5select key, value from srcpart where ds='2008-04-08' and hr='11';
6
7LOCK TABLE tstsrcpart PARTITION(ds='2008-04-08', hr='11') EXCLUSIVE;
8SHOW LOCKS tstsrcpart PARTITION(ds='2008-04-08', hr='12');
9