You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "mchades (via GitHub)" <gi...@apache.org> on 2024/08/05 09:54:41 UTC
Re: [I] [Bug report] Hive catalog: table comment or column comment has garbled Chinese character [gravitino]
mchades commented on issue #4147:
URL: https://github.com/apache/gravitino/issues/4147#issuecomment-2268670065
I have figured it out, this isn't about Gravitino.
It is caused by the MySQL charSet of HMS you are using. you can try to alter the charSet in MySQL by:
```mysql
alter table COLUMNS_V2 modify column COMMENT varchar(256) character set utf8;
alter table TABLE_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8;
alter table PARTITION_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8 ;
alter table PARTITION_KEYS modify column PKEY_COMMENT varchar(4000) character set utf8;
alter table INDEX_PARAMS modify column PARAM_VALUE varchar(4000) character set utf8;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org