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

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

#
text | 10 lines | 6 code | 4 blank | 0 comment | 0 complexity | aea14c7843a81fc75be6781202af451a MD5 | raw file
 1CREATE TABLE dest1(c1 STRING) STORED AS TEXTFILE;
 2
 3FROM src INSERT OVERWRITE TABLE dest1 SELECT '' WHERE src.key = 86;
 4
 5FROM src INSERT OVERWRITE TABLE dest1 SELECT '1' WHERE src.key = 86;
 6
 7EXPLAIN
 8SELECT avg(c1), sum(c1), count(c1) FROM dest1;
 9
10SELECT avg(c1), sum(c1), count(c1) FROM dest1;