[ 
https://issues.apache.org/jira/browse/HIVE-4346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

caofangkun updated HIVE-4346:
-----------------------------

    Attachment: HIVE-4346-3.patch
    
> 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
>            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

Reply via email to