Sqoop
  1. Sqoop
  2. SQOOP-654

PostgreSQL direct connector is ignoring --null(-input)string and --null(-input)-non-string arguments

    Details

      Description

      PostgreSQL direct connector is currently ignoring special handling of null arguments.

      Adding special handling of NULL values should not be difficult:

      http://www.postgresql.org/docs/9.2/static/sql-copy.html

      1. bugSQOOP-654.patch
        10 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 11994 ]
          Jarek Jarcec Cecho made changes -
          Attachment bugSQOOP-654.patch [ 12567457 ]
          Jarek Jarcec Cecho made changes -
          Assignee Jarek Jarcec Cecho [ jarcec ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Jarek Jarcec Cecho made changes -
          Status In Progress [ 3 ] Patch Available [ 10002 ]
          Hide
          Cheolsoo Park added a comment -

          +1. I will commit it after running tests.

          Show
          Cheolsoo Park added a comment - +1. I will commit it after running tests.
          Hide
          Cheolsoo Park added a comment -

          Committed to trunk. Thanks Jarcec!

          Show
          Cheolsoo Park added a comment - Committed to trunk. Thanks Jarcec!
          Cheolsoo Park made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop20 #552 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/552/)
          SQOOP-654: PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4
          Files :

          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java
          • src/java/org/apache/sqoop/util/SubstitutionUtils.java
          • src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop20 #552 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/552/ ) SQOOP-654 : PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4 Files : src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java src/java/org/apache/sqoop/util/SubstitutionUtils.java src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop23 #746 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/746/)
          SQOOP-654: PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4
          Files :

          • src/java/org/apache/sqoop/util/SubstitutionUtils.java
          • src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop23 #746 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop23/746/ ) SQOOP-654 : PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4 Files : src/java/org/apache/sqoop/util/SubstitutionUtils.java src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop200 #550 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/550/)
          SQOOP-654: PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4
          Files :

          • src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java
          • src/java/org/apache/sqoop/util/SubstitutionUtils.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop200 #550 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop200/550/ ) SQOOP-654 : PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4 Files : src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java src/java/org/apache/sqoop/util/SubstitutionUtils.java src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          Hide
          Hudson added a comment -

          Integrated in Sqoop-ant-jdk-1.6-hadoop100 #547 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/547/)
          SQOOP-654: PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4
          Files :

          • src/java/org/apache/sqoop/util/SubstitutionUtils.java
          • src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java
          • src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java
          • src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.java
          Show
          Hudson added a comment - Integrated in Sqoop-ant-jdk-1.6-hadoop100 #547 (See https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop100/547/ ) SQOOP-654 : PostgreSQL direct connector is ignoring --null(-input)string and (Revision a220ae46948bd388da728b3816d817b3cae31ce4) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a220ae46948bd388da728b3816d817b3cae31ce4 Files : src/java/org/apache/sqoop/util/SubstitutionUtils.java src/java/org/apache/sqoop/manager/DirectPostgresqlManager.java src/test/com/cloudera/sqoop/manager/PostgresqlImportTest.java src/test/com/cloudera/sqoop/util/TestSubstitutionUtils.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