[
https://issues.apache.org/jira/browse/HIVE-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phabricator updated HIVE-2905:
------------------------------
Attachment: HIVE-2905.D11487.1.patch
navis requested code review of "HIVE-2905 [jira] Desc table can't show
non-ascii comments".
Reviewers: JIRA
HIVE-2905 Desc table cannot show non-ascii comments
When desc a table with command line or hive jdbc way, the table's comment can't
be read.
1. I have updated javax.jdo.option.ConnectionURL parameter in hive-site.xml
file.
jdbc:mysql://...:3306/hive?characterEncoding=UTF-8
2. In mysql database, the comment field of COLUMNS table can be read normally.
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D11487
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java
ql/src/test/queries/clientpositive/describe_comment_nonascii.q
ql/src/test/results/clientpositive/describe_comment_nonascii.q.out
MANAGE HERALD RULES
https://reviews.facebook.net/herald/view/differential/
WHY DID I GET THIS EMAIL?
https://reviews.facebook.net/herald/transcript/27207/
To: JIRA, navis
> Desc table can't show non-ascii comments
> ----------------------------------------
>
> Key: HIVE-2905
> URL: https://issues.apache.org/jira/browse/HIVE-2905
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.7.0, 0.10.0
> Environment: hive 0.7.0, mysql 5.1.45
> hive 0.10.0, mysql 5.5.30
> Reporter: Sheng Zhou
> Labels: patch
> Attachments: HIVE-2905.D11487.1.patch, utf8-desc-comment.patch
>
>
> When desc a table with command line or hive jdbc way, the table's comment
> can't be read.
> 1. I have updated javax.jdo.option.ConnectionURL parameter in hive-site.xml
> file.
> jdbc:mysql://*.*.*.*:3306/hive?characterEncoding=UTF-8
> 2. In mysql database, the comment field of COLUMNS table can be read normally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira