Review Board 1.7.22


SQOOP-1102 Sqoop2: Basic schema: Generate the schema on import in Generic JDBC Connector

Review Request #12090 - Created June 25, 2013 and submitted

Jarek Cecho
SQOOP-1102
Reviewers
Sqoop
sqoop-sqoop2
Part of SQOOP-1073 that is adding basic schema generation into Generic JDBC Connector import phase. The export is not implemented and will be covered by follow up JIRAs.

 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorError.java
Revision f2ac979 New Change
[20] 67 lines
[+20]
68
      + "when the table sql is specified during export"),
68
      + "when the table sql is specified during export"),
69

    
   
69

   
70
  /** Unsupported values in partition column */
70
  /** Unsupported values in partition column */
71
  GENERIC_JDBC_CONNECTOR_0015("Partition column contains unsupported values"),
71
  GENERIC_JDBC_CONNECTOR_0015("Partition column contains unsupported values"),
72

    
   
72

   

    
   
73
  /** Can't fetch schema */

    
   
74
  GENERIC_JDBC_CONNECTOR_0016("Can't fetch schema"),

    
   
75

   
73
  ;
76
  ;
74

    
   
77

   
75
  private final String message;
78
  private final String message;
76

    
   
79

   
77
  private GenericJdbcConnectorError(String message) {
80
  private GenericJdbcConnectorError(String message) {
[+20] [20] 11 lines
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportInitializer.java
Revision 40a7774 New Change
 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportInitializer.java
Revision 3e9789c New Change
 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/util/SqlTypesUtils.java
New File
 
connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportInitializer.java
Revision 9f4269a New Change
 
core/src/main/java/org/apache/sqoop/framework/JobManager.java
Revision 5a2f490 New Change
 
spi/src/main/java/org/apache/sqoop/job/etl/Initializer.java
Revision 346b84c New Change
 
  1. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorError.java: Loading...
  2. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportInitializer.java: Loading...
  3. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportInitializer.java: Loading...
  4. connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/util/SqlTypesUtils.java: Loading...
  5. connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportInitializer.java: Loading...
  6. core/src/main/java/org/apache/sqoop/framework/JobManager.java: Loading...
  7. spi/src/main/java/org/apache/sqoop/job/etl/Initializer.java: Loading...