/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

  1. CREATE TABLE dest1(dummy STRING, key INT, value DOUBLE) STORED AS TEXTFILE;
  2. EXPLAIN
  3. FROM src
  4. INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key;
  5. FROM src
  6. INSERT OVERWRITE TABLE dest1 SELECT '1234', key, count(1) WHERE src.key < 100 group by key;
  7. SELECT dest1.* FROM dest1;