You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "tartarus (JIRA)" <ji...@apache.org> on 2018/03/01 03:00:00 UTC

[jira] [Comment Edited] (HIVE-18811) Fix desc table, column comments are not displayed

    [ https://issues.apache.org/jira/browse/HIVE-18811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16377917#comment-16377917 ] 

tartarus edited comment on HIVE-18811 at 3/1/18 2:59 AM:
---------------------------------------------------------

translate '\t' to '\' and 't'


was (Author: tartarus):
translate '\t' to '\ t'

> 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 : name                string              name{color}
> {color}
> because \t is the separator, so we should translate it



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)