服装网站目标,河间网站制作公司,wordpress看板娘,wordpress多说头像问题描述
当使用以下命令查看表的元数据信息时出现中文乱码#xff08;使用的是idea连接hive#xff09;
desc formatted test.t_archer; 解决
连接保存hive元数据的MySQL数据库#xff0c;执行以下命令#xff1a;
use hive3;
show tables;alter table hive3.COLUMNS_…问题描述
当使用以下命令查看表的元数据信息时出现中文乱码使用的是idea连接hive
desc formatted test.t_archer; 解决
连接保存hive元数据的MySQL数据库执行以下命令
use hive3;
show tables;alter table hive3.COLUMNS_V2 modify column COMMENT varchar(256) character set utf8;
alter table hive3.TABLE_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8;
alter table hive3.PARTITION_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8 ;
alter table hive3.PARTITION_KEYS modify column PKEY_COMMENT varchar(4000) character set utf8;
alter table hive3.INDEX_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8; 在hive中把表删除重新创建即可生效