PageRenderTime 15ms CodeModel.GetById 13ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
text | 19 lines | 16 code | 3 blank | 0 comment | 0 complexity | 6691a16104a5f6c2193eb3bb2d515c13 MD5 | raw file
 1describe srcpart;
 2describe srcpart.key;
 3describe srcpart PARTITION(ds='2008-04-08', hr='12');
 4
 5describe extended srcpart;
 6describe extended srcpart.key;
 7describe extended srcpart PARTITION(ds='2008-04-08', hr='12');
 8
 9describe formatted srcpart;
10describe formatted srcpart.key;
11describe formatted srcpart PARTITION(ds='2008-04-08', hr='12');
12
13create table srcpart_serdeprops like srcpart;
14alter table srcpart_serdeprops set serdeproperties('xyz'='0');
15alter table srcpart_serdeprops set serdeproperties('pqrs'='1');
16alter table srcpart_serdeprops set serdeproperties('abcd'='2');
17alter table srcpart_serdeprops set serdeproperties('A1234'='3');
18describe formatted srcpart_serdeprops;
19drop table srcpart_serdeprops;