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

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

#
text | 20 lines | 14 code | 6 blank | 0 comment | 0 complexity | fad593f71691b95832108ac9261ae053 MD5 | raw file
 1CREATE TABLE part_special (
 2  a STRING,
 3  b STRING
 4) PARTITIONED BY (
 5  ds STRING,
 6  ts STRING
 7);
 8
 9EXPLAIN
10INSERT OVERWRITE TABLE part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455')
11SELECT 1, 2 FROM src LIMIT 1;
12
13INSERT OVERWRITE TABLE part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455')
14SELECT 1, 2 FROM src LIMIT 1;
15
16DESCRIBE EXTENDED part_special PARTITION(ds='2008 04 08', ts = '10:11:12=455');
17
18SELECT * FROM part_special WHERE ds='2008 04 08' AND ts = '10:11:12=455';
19
20