You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/08/20 23:33:15 UTC

[jira] Commented: (HIVE-692) Allow hive command output to be escaped

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

Zheng Shao commented on HIVE-692:
---------------------------------

We should also support custom output serdes/separators etc, for both "SELECT" and "INSERT LOCAL DIRECTORY".

> Allow hive command output to be escaped
> ---------------------------------------
>
>                 Key: HIVE-692
>                 URL: https://issues.apache.org/jira/browse/HIVE-692
>             Project: Hadoop Hive
>          Issue Type: Improvement
>            Reporter: Zheng Shao
>
> If the column value contains "\t" or "\n", it's hard for users to see what the actual value is.
> A new option "hive.output.escape" should be added. The default is "none", which is the same as the current behavior.
> Users can do "set hive.output.escape=mysql;" to allow mysql escaping:
> http://dev.mysql.com/doc/refman/5.1/en/mysql-command-options.html#option_mysql_raw

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.