blob: 1fb9a48dfce246603d80f09ff66f7f04d5bad64f [file] [log] [blame]
--! qt:dataset:src
-- SORT_QUERY_RESULTS
set hive.support.concurrency=true;
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
CREATE TABLE src_txn stored as orc TBLPROPERTIES ('transactional' = 'true')
AS SELECT * FROM src;
CREATE MATERIALIZED VIEW distribute_mv_1 DISTRIBUTED ON (key) STORED AS TEXTFILE AS
SELECT value, key FROM src_txn where key > 200 and key < 250;