You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "caofangkun (JIRA)" <ji...@apache.org> on 2013/06/07 08:39:20 UTC
[jira] [Work started] (HIVE-4346) when writing data into filesystem
from queries ,the output files could contain a line of column names
[ https://issues.apache.org/jira/browse/HIVE-4346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-4346 started by caofangkun.
> when writing data into filesystem from queries ,the output files could contain a line of column names
> ------------------------------------------------------------------------------------------------------
>
> Key: HIVE-4346
> URL: https://issues.apache.org/jira/browse/HIVE-4346
> Project: Hive
> Issue Type: New Feature
> Components: Query Processor
> Reporter: caofangkun
> Assignee: caofangkun
> Priority: Minor
> Attachments: HIVE-4346-1.patch, HIVE-4346-3.patch
>
>
> For example :
> hive>desc src;
> key string
> value string
> hive>select * from src;
> 1 10
> 2 20
> hive>set hive.output.markschema=true;
> hive>insert overwrite local directory './test1' select * from src ;
> hive>!ls -l './test1';
> ./test1/_metadata
> ./test1/000000_0
> hive>!cat './test1/_metadata'
> key^Avalue
> hive>!cat './test1/000000_0';
> 1^A10
> 2^A20
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira