PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
text | 10 lines | 7 code | 3 blank | 0 comment | 0 complexity | 8b697f491f462459522845320b358f49 MD5 | raw file
 1CREATE TABLE dest1(dummy STRING, key INT, value DOUBLE) STORED AS TEXTFILE;
 2
 3EXPLAIN
 4FROM src
 5INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key;
 6
 7FROM src
 8INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key;
 9
10SELECT dest1.* FROM dest1;