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

Switch to Threaded View
Sqoop >> mail # dev >> Review Request 12342: Fix for SQOOP-1097

Copy link to this message
Review Request 12342: Fix for SQOOP-1097

This is an automatically generated e-mail. To reply, visit:

Review request for Sqoop.
Bugs: SQOOP-1097
Repository: sqoop-trunk

Fix for mysql export using procedure.   While fixing this, found that Oracle export also has additional issues when using DB specific types that are not handled.   Fixed both the issues and provided a generic implementation for future db tests.

  src/java/org/apache/sqoop/manager/ConnManager.java c9e05da
  src/java/org/apache/sqoop/manager/MySQLManager.java 2090b1a
  src/java/org/apache/sqoop/manager/OracleManager.java edc888e
  src/java/org/apache/sqoop/manager/SqlManager.java e96368b
  src/test/org/apache/sqoop/TestExportUsingProcedure.java 6414ef7
  src/test/org/apache/sqoop/manager/mysql/MySqlCallExportTest.java PRE-CREATION
  src/test/org/apache/sqoop/manager/oracle/OracleCallExportTest.java PRE-CREATION

Diff: https://reviews.apache.org/r/12342/diff/

All unit tests pass.  Created a mysql and oracle specific test for testing both the functionality of doing procedure based export and handling db specific types

Venkat Ranganathan