Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Sanbox HDP2.3 – Add Partition Fails

$
0
0

Out of the box, the new Sandbox HDP 2.3 VM won’t add partitions to an external table, whereas HDP 2.2 is fine. The following code fails on 2.3 at adding a partition:

create external table if not exists Test01.Test02(sDate date, id int, sText string)
partitioned by(LogDay date)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ‘ ‘;

alter table Test01.Test02
partition(LogDay=’2008-10-29’) location ‘/user/hue/Logs/2008-10-29’;

Error occurred executing hive query: Error while compiling statement: FAILED: ParseException line 2:31 cannot recognize input near ‘location’ ”/user/hue/Logs/2008-10-29” ‘<EOF>’ in alter table partition statement suffix


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>