View 1 - setup_query.hql
-- Create a simple table with 2 columns | |
-- and then create view that uses the table | |
-- and has a sub query | |
CREATE EXTERNAL TABLE IF NOT EXISTS TestTable ( | |
TestID INT, | |
TestText STRING) | |
ROW FORMAT DELIMITED | |
FIELDS TERMINATED BY ',' | |
STORED AS TEXTFILE |