I need to create an external table for an read only existed folder structure.
The original hive table has partitions like year, month and day. Their files store in path in this way HDFS_PATH/2016/10/04/
But when I create an external table in hive, it always store to path like HDFS_PATH/year=2016/month=10/day=04/
Although I can change 1 partition location like in this link How to Update/Drop a Hive Partition? , but I have to set location for each partition combination.
Is there a simpler way to set it once and for all?