fix impala+hive bug