[ https://issues.apache.org/jira/browse/HIVE-18811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389315#comment-16389315 ]
Peter Vary edited comment on HIVE-18811 at 3/7/18 9:36 AM: ----------------------------------------------------------- [~tartarus]: More like create the "my_new_table" with '\t' in the comments and run the following commands in BeeLine, and in HiveCLI manually, to see the changes before and after the patch: {code:java} describe my_new_table; describe formatted my_new_table; describe pretty my_new_table;{code} Creating a file like the https://issues.apache.org/jira/secure/attachment/12826718/changes in HIVE-14146 to see what is changed after the patch would be nice. Thanks, Peter was (Author: pvary): [~tartarus]: More like create the "my_new_table" with '\t' in the comments and run the following commands in BeeLine, and in HiveCLI manually, to see the changes before and after the patch: {code:java} describe my_new_table; describe formatted my_new_table; describe pretty my_new_table;{code} Creating a file like the [^changes] in HIVE-14146 to see what is changed after the patch would be nice. Thanks, Peter > Fix desc table, column comments are not displayed > ------------------------------------------------- > > Key: HIVE-18811 > URL: https://issues.apache.org/jira/browse/HIVE-18811 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 1.2.1, 2.3.2 > Environment: CentOS 6.5 > Hive-1.2.1 > Hive-3.0.0 > Reporter: tartarus > Assignee: tartarus > Priority: Major > Labels: patch > Fix For: 3.0.0 > > Attachments: HIVE_18811.patch > > > when column comment contain \t > eg: CREATE TABLE `zhangmang_test`(`name` string COMMENT > 'name{color:#ff0000}\t{color}zm'); > then execute : {color:#ff0000}desc zhangmang_test {color} > {color:#ff0000}{color:#333333}return :{color} name string > name{color} > because \t is the separator, so we should translate it -- This message was sent by Atlassian JIRA (v7.6.3#76005)