This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |