Sqoop
  1. Sqoop
  2. SQOOP-1046

Sqoop2: Importing single row using decimal splitter will not import anything

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.2
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:
      None

      Description

      Consider table that have decimal column and we're using this column as a "split by column". In case that the table have only one single column, nothing will be imported as the code will create zero partitions.

      1. bugSQOOP-1046.patch
        4 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Kathleen Ting added a comment -
          Show
          Kathleen Ting added a comment - Thanks Jarcec for your contribution. The patch is in: https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=commit;h=2941fa666c7ac111776b8cbfb47001f7ff2d2431
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #283 (See https://builds.apache.org/job/Sqoop2-hadoop100/283/)
          SQOOP-1046: Sqoop2: Importing single row using decimal splitter will not import anything (Revision 2941fa666c7ac111776b8cbfb47001f7ff2d2431)

          Result = FAILURE
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2941fa666c7ac111776b8cbfb47001f7ff2d2431
          Files :

          • connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportPartitioner.java
          • connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #283 (See https://builds.apache.org/job/Sqoop2-hadoop100/283/ ) SQOOP-1046 : Sqoop2: Importing single row using decimal splitter will not import anything (Revision 2941fa666c7ac111776b8cbfb47001f7ff2d2431) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2941fa666c7ac111776b8cbfb47001f7ff2d2431 Files : connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportPartitioner.java connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #287 (See https://builds.apache.org/job/Sqoop2-hadoop200/287/)
          SQOOP-1046: Sqoop2: Importing single row using decimal splitter will not import anything (Revision 2941fa666c7ac111776b8cbfb47001f7ff2d2431)

          Result = FAILURE
          kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2941fa666c7ac111776b8cbfb47001f7ff2d2431
          Files :

          • connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java
          • connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportPartitioner.java
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #287 (See https://builds.apache.org/job/Sqoop2-hadoop200/287/ ) SQOOP-1046 : Sqoop2: Importing single row using decimal splitter will not import anything (Revision 2941fa666c7ac111776b8cbfb47001f7ff2d2431) Result = FAILURE kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=2941fa666c7ac111776b8cbfb47001f7ff2d2431 Files : connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportPartitioner.java

            People

            • Assignee:
              Jarek Jarcec Cecho
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development