hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1310) CREATE TABLE statements for Hive do not correctly specify delimiters
Date Fri, 18 Dec 2009 01:36:18 GMT

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

Aaron Kimball updated MAPREDUCE-1310:
-------------------------------------

    Attachment: MAPREDUCE-1310.patch

Hive expects delimiter characters expressed as octal values to be exactly three digits, and
do not require an additional '0' prefix character. As a result, octal strings such as {{'\01'}}
generated by Sqoop do not get parsed correctly by Hive.

This patch adds a new test case file; committing this requires running:

{code}
svn add src/contrib/sqoop/src/test/org/apache/hadoop/sqoop/hive/TestTableDefWriter.java
{code}

> CREATE TABLE statements for Hive do not correctly specify delimiters
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1310
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1310
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/sqoop
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: MAPREDUCE-1310.patch
>
>
> Imports to HDFS via Sqoop that also inject metadata into Hive do not correctly specify
delimiters; using Hive to access the data results in rows being parsed as NULL characters.
See http://getsatisfaction.com/cloudera/topics/sqoop_hive_import_giving_null_query_values
for an example bug report

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