You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Robert Mckeown (JIRA)" <ji...@apache.org> on 2015/03/06 22:23:38 UTC

[jira] [Commented] (SQOOP-1904) support for DB2 XML data type when importing to hdfs

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

Robert Mckeown commented on SQOOP-1904:
---------------------------------------

Apologies if this is the wrong forum for this question - I'm only 30min into playing with Sqoop and  I am encountering the issue that I think this patch claims to fix ( reading data from DB2 with columns that contain XML data/type).
Is there a jar file with this patch ready to go? - or do I have to go build sqoop myself from scratch to test out this patch ? 

> support for DB2 XML data type when importing to hdfs
> ----------------------------------------------------
>
>                 Key: SQOOP-1904
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1904
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors
>    Affects Versions: 1.4.5
>         Environment: RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + DB2 10.5 
>            Reporter: xieshiju
>            Assignee: xieshiju
>              Labels: features
>             Fix For: 1.4.6
>
>         Attachments: SQOOP-1904.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> The DB2 connector should add XML data type support otherwise you will get an error that Hive does not support the SQL type.
> Example with column DESCRIPTION data type XML:
> $SQOOP_HOME/bin/sqoop create-hive-table --connect 'jdbc:db2://xxx.svl.ibm.com:60000/SAMPLE' --username db2inst1 --password db2inst1 --hive-table product_ct --table PRODUCT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)