I have an hdfs location
create external table webevent( col1 string , col2 string ..)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\001'
LINES TERMINATED BY '\n'
STORED AS TEXTFILE
not working .
also i want the hive table to have the partition keys as well on dt .
I guess you, at least, miss the part where you define the partition in the create table statement since your "log" folder seems to contains a partition on the field/key "part_key".