PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
text | 14 lines | 6 code | 8 blank | 0 comment | 0 complexity | 698e28e4fd46eae657df1564cd181e46 MD5 | raw file
Possible License(s): Apache-2.0, BSD-3-Clause, JSON, CPL-1.0
  1. show partitions srcpart;
  2. create table if not exists nzhang_part7 like srcpart;
  3. describe extended nzhang_part7;
  4. insert overwrite table nzhang_part7 partition (ds='2010-03-03', hr='12') select key, value from srcpart where ds = '2008-04-08' and hr = '12';
  5. show partitions nzhang_part7;
  6. select * from nzhang_part7 where ds is not null and hr is not null;