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

Switch to Plain View
Sqoop >> mail # dev >> Review Request 12090: SQOOP-1102 Sqoop2: Basic schema: Generate the schema on import in Generic JDBC Connector


+
Jarek Cecho 2013-06-25, 21:44
+
Abraham Elmahrek 2013-06-28, 05:55
Copy link to this message
-
Re: Review Request 12090: SQOOP-1102 Sqoop2: Basic schema: Generate the schema on import in Generic JDBC Connector


> On June 28, 2013, 5:55 a.m., Abraham Elmahrek wrote:
> > This looks good to me! How does this work with databases with schemas? IE: schema1.table1.

Hi Abe,
thank you very much for your very valid question! Please accept my apologies for using ambiguous terms here. The goal of this and couple of other JIRAs is to provide facility in Sqoop to describe transferred data, what columns are transferred, of what data types and in which order. Purpose of the schema currently is not to describe location of the data neither in database nor in Hadoop.

Jarcec
- Jarek
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12090/#review22496
-----------------------------------------------------------
On June 25, 2013, 9:44 p.m., Jarek Cecho wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12090/
> -----------------------------------------------------------
>
> (Updated June 25, 2013, 9:44 p.m.)
>
>
> Review request for Sqoop.
>
>
> Bugs: SQOOP-1102
>     https://issues.apache.org/jira/browse/SQOOP-1102
>
>
> Repository: sqoop-sqoop2
>
>
> Description
> -------
>
> 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.
>
>
> Diffs
> -----
>
>   connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnectorError.java f2ac979
>   connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExportInitializer.java 40a7774
>   connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcImportInitializer.java 3e9789c
>   connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/util/SqlTypesUtils.java PRE-CREATION
>   connector/connector-generic-jdbc/src/test/java/org/apache/sqoop/connector/jdbc/TestImportInitializer.java 9f4269a
>   core/src/main/java/org/apache/sqoop/framework/JobManager.java 5a2f490
>   spi/src/main/java/org/apache/sqoop/job/etl/Initializer.java 346b84c
>
> Diff: https://reviews.apache.org/r/12090/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jarek Cecho
>
>