hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18367) Describe Extended output is truncated on a table with an explicit row format containing tabs or newlines.
Date Mon, 22 Jan 2018 10:05:00 GMT

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

Peter Vary updated HIVE-18367:
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master.

Thanks for your patch [~asherman]!

> 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
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18367.1.patch, HIVE-18367.2.patch, HIVE-18367.3.patch, HIVE-18367.4.patch,
HIVE-18367.5.patch, HIVE-18367.6.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
(v7.6.3#76005)

Mime
View raw message