hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1598) use SequenceFile rather than TextFile format for hive query results
Date Tue, 31 Aug 2010 17:46:55 GMT

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

Namit Jain commented on HIVE-1598:
----------------------------------

Ning, can you add the test which was failing with TextFile ('\n' in the data)

> 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
>         Attachments: HIVE-1598.patch
>
>
> 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.


Mime
View raw message