add mulit encoding support for hive