sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Attila Szabo <mau...@apache.org>
Subject Re: Review Request 58600: add --schema option for import-all-tables and list-tables against db2
Date Thu, 25 May 2017 21:37:29 GMT


> On May 17, 2017, 11:50 a.m., Attila Szabo wrote:
> > src/java/org/apache/sqoop/manager/Db2Manager.java
> > Lines 372-394 (patched)
> > <https://reviews.apache.org/r/58600/diff/1/?file=1696010#file1696010line372>
> >
> >     Could you please check if this has been already solved in other connectors?
> >     
> >     Getting schema option sounds quite general, might have been implemented elsewhere
in the codebase.
> >     
> >     Would make sense to abstract it out, and just call it from different places.
> >     
> >     Thanks for checking!
> 
> Ying Cao wrote:
>     Hi Attila
>     
>     Yes, this has been already solved in Postgresql. Which file is suitable to abstrace
it out?

Hey Angela,

I would recommend GenericJdbcManager class.

Cheers,
Attila


- Attila


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


On May 24, 2017, 9:20 a.m., Ying Cao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58600/
> -----------------------------------------------------------
> 
> (Updated May 24, 2017, 9:20 a.m.)
> 
> 
> Review request for Sqoop, Abraham Elmahrek, Boglarka Egyed, Jarek Cecho, Attila Szabo,
and Szabolcs Vasas.
> 
> 
> Bugs: SQOOP-1905
>     https://issues.apache.org/jira/browse/SQOOP-1905
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> SQOOP-1905 : add --schema option for import-all-tables and list-tables against db2
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/manager/Db2Manager.java 52ab05ef 
>   src/test/org/apache/sqoop/manager/db2/DB2ImportAllTableWithSchema.java PRE-CREATION

> 
> 
> Diff: https://reviews.apache.org/r/58600/diff/2/
> 
> 
> Testing
> -------
> 
> Mannual UT  is passed
> 
> 
> Thanks,
> 
> Ying Cao
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message