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

Ying Cao commented on SQOOP-1904:
---------------------------------

[~jarcec]I create UT for it, and debase a new 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.7
>
>         Attachments: 0001-SQOOP-1904.patch, 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)

Reply via email to