While running the following commands:
CREATE EXTERNAL TABLE zips (zip int, city String)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' LOCATION ’/tutorial/input';
I got an exception:
mismatched input '/' expecting StringLiteral near 'LOCATION' in table location specification
I searched about the issue and I tried to use OCT code like this:
CREATE EXTERNAL TABLE zips (zip int, city String)
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\054' LOCATION ’/tutorial/input';
I am new to Hive. How to resolve this issue?
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\054' LOCATION ’/tutorial/input';Did you intend to use different quotes after location? - Magisch