Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # dev - Review Request 12451: SQOOP-1049: Sqoop2: Record not imported if partition column value is NULL


Copy link to this message
-
Re: Review Request 12451: SQOOP-1049: Sqoop2: Record not imported if partition column value is NULL
Mengwei Ding 2013-07-12, 22:08

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12451/
-----------------------------------------------------------

(Updated July 12, 2013, 10:08 p.m.)
Review request for Sqoop and Jarek Cecho.
Changes
-------

Now, let the user input whether there could be nulls in the given partition column.
Bugs: SQOOP-1049
    https://issues.apache.org/jira/browse/SQOOP-1049
Repository: sqoop-sqoop2
Description (updated)
-------

commit b9b99bd826f1386b84525084b9b8145d40b8768f
Author: Mengwei Ding <[EMAIL PROTECTED]>
Date:   Wed Jul 10 11:41:05 2013 -0700

    SQOOP-1049: Sqoop2: Record not imported if partition column value is NULL

:100644 100644 abcc89d... eb9f3d2... M connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorConstants.java
:100644 100644 96818ba... e268b08... M connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportInitializer.java
:100644 100644 7792c57... a907ca7... M connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java
:100644 100644 ef27236... e114df4... M connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/configuration/ImportTableForm.java
:100644 100644 44fc984... 0f45090... M connector/connector-generic-jdbc/src/main/resources/generic-jdbc-connector-resources.properties
Diffs (updated)
-----

  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorConstants.java abcc89d
  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportInitializer.java 96818ba
  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportPartitioner.java 7792c57
  connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/configuration/ImportTableForm.java ef27236
  connector/connector-generic-jdbc/src/main/resources/generic-jdbc-connector-resources.properties 44fc984

Diff: https://reviews.apache.org/r/12451/diff/
Testing
-------

Have done a manual test, in which I successfully import a table with some null values in partition column.
Thanks,

Mengwei Ding