I am trying to load a dataset stored in HDFS (text file) into a hive for analysis. I use create an external table as follows:
CREATE EXTERNAL table myTable(field1 STRING...) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' STORED AS TEXTFILE LOCATION '/user/myusername/datasetlocation';
This works fine, but write access is required to host hdfs. Why is this?
In general, how to download text data that I donโt have write access to? Is there a read-only table type?
Edit: I noticed this problem on the hive regarding a question. This does not seem to have been allowed.
source share