You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/04/03 22:57:14 UTC
[jira] [Commented] (HIVE-6833) when output hive table query to HDFS
file,users should have a separator of their own choice
[ https://issues.apache.org/jira/browse/HIVE-6833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959204#comment-13959204 ]
Xuefu Zhang commented on HIVE-6833:
-----------------------------------
This seems to be another dupe for HIVE-5672, which is already duped by HIVE-6410.
> when output hive table query to HDFS file,users should have a separator of their own choice
> -------------------------------------------------------------------------------------------
>
> Key: HIVE-6833
> URL: https://issues.apache.org/jira/browse/HIVE-6833
> Project: Hive
> Issue Type: New Feature
> Components: CLI
> Affects Versions: 0.11.0
> Environment: java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.11.90) (rhel-1.62.1.11.11.90.el6_4-x86_64)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> Reporter: sourabh potnis
>
> HIVE-3682 allows user to store output of Hive query to a local file along with delimiters and separators of their choice.
> e.g. insert overwrite local directory '/users/home/XYZ' row format delimited FIELDS TERMINATED BY ',' SELECT * from table_name;
> Storing query output with default separator(\001) to HDFS is possible.
> e.g. insert overwrite directory '/user/xYZ/security' SELECT * from table_name;
> But user can not store output of Hive query to a HDFS directory with delimiters and separators of their choice.
> e.g. insert overwrite directory '/user/xYZ/security' row format delimited FIELDS TERMINATED BY ',' SELECT * from table_name; (Gives ERROR)
--
This message was sent by Atlassian JIRA
(v6.2#6252)