[ 
https://issues.apache.org/jira/browse/HIVE-18367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Sherman updated HIVE-18367:
----------------------------------
    Attachment: HIVE-18367.2.patch

HIVE-18367.2.patch adds a BeeLine test and uses HiveStringUtils.escapeJava().
I confirmed that CliDriver output is the same by hand - the output is masked 
from a .q file test.

> Describe Extended output is truncated on a table with an explicit row format 
> containing tabs or newlines.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-18367
>                 URL: https://issues.apache.org/jira/browse/HIVE-18367
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>         Attachments: HIVE-18367.1.patch, HIVE-18367.2.patch
>
>
> 'Describe Extended' dumps information about a table. The protocol for sending 
> this data relies on tabs and newlines to separate pieces of data. If a table 
> has 'FIELDS terminated by XXX' or 'LINES terminated by XXX' where XXX is a 
> tab or newline then the output seen by the user is prematurely truncated. Fix 
> this by replacing tabs and newlines in the table description with “\n” and 
> “\t”.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to