Fix partition bug in hive storage