dianping / cosmos-hive

3 stars 5 forks source link

HIVE-3203 Drop partition throws NPE if table doesn't exist #27

Closed zhuguangbin closed 11 years ago

zhuguangbin commented 11 years ago

apply HIVE-3063/HIVE-3076后,alter table faketable drop partition(c='somecol'),如果faketable 不存在,会在console中抛NPE错误。

zhuguangbin commented 11 years ago

已经apply patch HIVE-3203。Test OK。 see: https://github.com/dianping/hive/commit/1438c7a9604ee09ab90d79894ed8b867aa2da7bc