hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3012) hive custom scripts do not work well if the data contains new lines
Date Wed, 09 Jan 2013 10:24:35 GMT

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

Hudson commented on HIVE-3012:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-3012 hive custom scripts do not work well if the data contains new lines (njain via
kevinwilfong) (Revision 1336986)

     Result = ABORTED
kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1336986
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
* /hive/trunk/data/scripts/newline.py
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/TextRecordReader.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/TextRecordWriter.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java
* /hive/trunk/ql/src/test/queries/clientpositive/newline.q
* /hive/trunk/ql/src/test/results/clientpositive/newline.q.out

                
> hive custom scripts do not work well if the data contains new lines
> -------------------------------------------------------------------
>
>                 Key: HIVE-3012
>                 URL: https://issues.apache.org/jira/browse/HIVE-3012
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.10.0
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-3012.D3099.1.patch, ASF.LICENSE.NOT.GRANTED--HIVE-3012.D3099.2.patch,
ASF.LICENSE.NOT.GRANTED--HIVE-3012.D3099.3.patch
>
>
> If the data contain newline, it will be passed as is to the script.
> The script has no way of splitting the data based on the new line.
> An option should be added to hive to escape/unescape the new lines.

--
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

Mime
View raw message