> On March 20, 2013, 9:16 p.m., Jarek Cecho wrote:
> > src/java/org/apache/sqoop/manager/DirectNetezzaManager.java, lines 78-83
> > <https://reviews.apache.org/r/10018/diff/2/?file=271931#file271931line78>
> >
> >     My Netezza knowledge is a bit rusty these day, but I do have feeling 
> > that the external table parameter "NULLVALUE" is used only for string based 
> > columns (varchar, ...). For all other column types (int, float, ...) empty 
> > string is used to encode NULL value. On precondition that this is still the 
> > case, shouldn't the condition be more if(nullNonStrValue != null) { error; 
> > }?

Thanks Jarcec

The Netezza external table feature supports NULLVALUE for nonstring columns 
also.  The unit tests tests it with an Integer column if you see.

Thanks
Venkat


- Venkat


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


On March 19, 2013, 6:06 p.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10018/
> -----------------------------------------------------------
> 
> (Updated March 19, 2013, 6:06 p.m.)
> 
> 
> Review request for Sqoop and Jarek Cecho.
> 
> 
> Description
> -------
> 
> Fixes for SQOOP-932
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/lib/DelimiterSet.java ef62ba0 
>   src/java/org/apache/sqoop/manager/DirectNetezzaManager.java 0a1e605 
>   
> src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java
>  410a569 
>   
> src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java
>  9e6cab6 
>   
> src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableExportJob.java
>  2a702d9 
>   
> src/java/org/apache/sqoop/mapreduce/netezza/NetezzaExternalTableImportJob.java
>  7ee6f70 
>   src/test/com/cloudera/sqoop/manager/DirectNetezzaExportManualTest.java 
> 938ffc5 
>   src/test/com/cloudera/sqoop/manager/NetezzaExportManualTest.java 50d27fe 
>   src/test/com/cloudera/sqoop/manager/NetezzaImportManualTest.java 3482dd8 
> 
> Diff: https://reviews.apache.org/r/10018/diff/
> 
> 
> Testing
> -------
> 
> All unit tests pass - added more tests for testing this functionality
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>

Reply via email to