赞
踩
指定了表的location但是select不出来数据,而目录确实存在hdfs上,如图所示(我这里面是2级分区)
解决方案:
1、
Alter table test6 add partition (dt=20150422,pidid=60) location ‘/data/dt=20150422/pidid=60’;