You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2010/08/26 03:25:16 UTC

[jira] Commented: (HIVE-1598) use SequenceFile rather than TextFile format for hive query results

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

Ning Zhang commented on HIVE-1598:
----------------------------------

Also make sure script operator handles new lines correctly. 

> use SequenceFile rather than TextFile format for hive query results
> -------------------------------------------------------------------
>
>                 Key: HIVE-1598
>                 URL: https://issues.apache.org/jira/browse/HIVE-1598
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Ning Zhang
>            Assignee: Ning Zhang
>
> Hive query's result is written to a temporary directory first and then FetchTask takes the files and display it to the users. Currently the file format used for the resulting file is TextFile format. This could cause incorrect result display if some string typed column contains new lines, which are used as record delimiters in TextInputFormat. Switching to SequenceFile format will solve this problem. 

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