You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kevin Wilfong (JIRA)" <ji...@apache.org> on 2012/05/26 06:49:22 UTC

[jira] [Commented] (HIVE-3058) hive.transform.escape.input breaks tab delimited data

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

Kevin Wilfong commented on HIVE-3058:
-------------------------------------

Submitted a diff here
https://reviews.facebook.net/D3411

If the hive.transform.escape.input option is set, ctrl-A is the default field separator. On escape, ctrl-A is converted to tab, on unescape tab is converted back to ctrl-A. This way the data is still tab delimited to the script.
                
> hive.transform.escape.input breaks tab delimited data
> -----------------------------------------------------
>
>                 Key: HIVE-3058
>                 URL: https://issues.apache.org/jira/browse/HIVE-3058
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3058.1.patch.txt
>
>
> With the hive.transform.escape.input set, all tabs going into a script, including those used to separate columns are escaped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira