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

tartarus commented on HIVE-18811:
---------------------------------

[~pvary]  Do you mean manually modify test BeeLine result file 
{color:#d04437}ql/src/test/results/clientpositive/beeline/escape_comments.q.out{color}
 ?

I have test through execute such command :

{color:#d04437}cd itests/qtest{color}

 

{color:#d04437}mvn test -Dtest=TestCliDriver -Dqfile=escape_comments.q{color}

{color:#d04437}mvn test -Dtest=TestBeeLineDriver 
-Dqfile=escape_comments.q{color}

I have update such files:

ql/src/test/results/clientpositive/beeline/escape_comments.q.out

ql/src/test/results/clientpositive/escape_comments.q.out

ql/src/test/queries/clientpositive/escape_comments.q

 

thanks for your review 

 

> 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)

Reply via email to