PageRenderTime 37ms CodeModel.GetById 16ms RepoModel.GetById 0ms 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
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. describe srcpart;
  2. describe srcpart.key;
  3. describe srcpart PARTITION(ds='2008-04-08', hr='12');
  4. describe extended srcpart;
  5. describe extended srcpart.key;
  6. describe extended srcpart PARTITION(ds='2008-04-08', hr='12');
  7. describe formatted srcpart;
  8. describe formatted srcpart.key;
  9. describe formatted srcpart PARTITION(ds='2008-04-08', hr='12');
  10. create table srcpart_serdeprops like srcpart;
  11. alter table srcpart_serdeprops set serdeproperties('xyz'='0');
  12. alter table srcpart_serdeprops set serdeproperties('pqrs'='1');
  13. alter table srcpart_serdeprops set serdeproperties('abcd'='2');
  14. alter table srcpart_serdeprops set serdeproperties('A1234'='3');
  15. describe formatted srcpart_serdeprops;
  16. drop table srcpart_serdeprops;