Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1904

support for DB2 XML data type when importing to hdfs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.5
    • 1.4.7
    • connectors
    • RedHat6.4 + Sqoop1.4.5 + Hadoop 2.4.1 + Hive 0.14.0 + DB2 10.5

    Description

      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

      Attachments

        1. SQOOP-1904.patch
          3 kB
          xieshiju
        2. SQOOP-1904.2.patch
          13 kB
          Ying Cao
        3. SQOOP-1904.3.patch
          13 kB
          Ying Cao
        4. SQOOP-1904.4.patch
          12 kB
          Ying Cao
        5. SQOOP-1904.5.patch
          12 kB
          Ying Cao
        6. SQOOP-1904.6.patch
          12 kB
          Ying Cao
        7. SQOOP-1904.7.patch
          12 kB
          Ying Cao

        Issue Links

          Activity

            People

              Ying Cao Ying Cao
              xieshiju xieshiju
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 504h
                  504h
                  Remaining:
                  Remaining Estimate - 504h
                  504h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified