1.错误情况 当 :
hive >create table test(
> sno int comment ‘编号’,
>sname String comment ‘姓名’
>)row format delimited fields terminated by '\t';
>desc test;
注释出现乱码
2.解决方案:
01.修改my.cnf文件 命令:vi /etc/my.cnf 或者sudo vi /etc/my.cnf (
1.错误情况 当 :
hive >create table test(
> sno int comment ‘编号’,
>sname String comment ‘姓名’
>)row format delimited fields terminated by '\t';
>desc test;
注释出现乱码
2.解决方案:
01.修改my.cnf文件 命令:vi /etc/my.cnf 或者sudo vi /etc/my.cnf (