You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "sourabh potnis (JIRA)" <ji...@apache.org> on 2014/04/03 16:48:15 UTC

[jira] [Created] (HIVE-6833) when output hive table to HDFS file,users should have a separator of their own choice

sourabh potnis created HIVE-6833:
------------------------------------

             Summary: when output hive table 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.12.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)