hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16625) Extra '\0' characters in the output, when SeparatedValuesOutputFormat is used and the quoting is disabled
Date Thu, 25 May 2017 20:28:04 GMT

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

Zoltan Haindrich commented on HIVE-16625:
-----------------------------------------

+1 looks good to me.
note: this test {{insert_overwrite_local_directory_1.q}} seems like something which writes
files and directories outside its {{target}} directory...namely; it overwrites {{data/files/local_src_table_1}}
- and it pollutes the project workspace after execution...

> Extra '\0' characters in the output, when SeparatedValuesOutputFormat is used and the
quoting is disabled
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16625
>                 URL: https://issues.apache.org/jira/browse/HIVE-16625
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline, Testing Infrastructure
>    Affects Versions: 3.0.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>         Attachments: HIVE-16625.02.patch, HIVE-16625.03.patch, HIVE-16625.patch
>
>
> If the output format is using {{SeparatedValuesOutputFormat}}, and the quoting is disabled
(by default is disabled), and the value of the cell contains the separator character, then
the the output is "quoted" with '\0' characters.
> To reproduce:
> {code}
> create table quotes(s string);
> insert into quotes values('a\ta');
> !set outputFormat tsv2
> select * from quotes;
> {code}
> The result is:
> {code}
> quotes.s
> ^@a	a^@
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message