> On Dec. 12, 2014, 8:51 a.m., Abraham Elmahrek wrote: > > connector/connector-sdk/src/main/java/org/apache/sqoop/connector/idf/CSVIntermediateDataFormat.java, > > lines 478-535 > > <https://reviews.apache.org/r/28999/diff/1/?file=790208#file790208line478> > > > > This seems like a lot of work for what seems like a null check? > > Veena Basavaraj wrote: > not sure what you mean by this comments. > > All it does is this. > > We chak a value is null in the object Array and then record those > indices, we do not process them while converin it to a string.
I must say this, I am really surprised when you say a lot of work. it handles all the 14 data / column types we support, unlike the previous code that handled only string. - Veena ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28999/#review64916 ----------------------------------------------------------- On Dec. 12, 2014, 8:35 a.m., Veena Basavaraj wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28999/ > ----------------------------------------------------------- > > (Updated Dec. 12, 2014, 8:35 a.m.) > > > Review request for Sqoop. > > > Bugs: SQOOP-1825 > https://issues.apache.org/jira/browse/SQOOP-1825 > > > Repository: sqoop-sqoop2 > > > Description > ------- > > see JIRA > > > Diffs > ----- > > > connector/connector-sdk/src/main/java/org/apache/sqoop/connector/idf/CSVIntermediateDataFormat.java > fe4cdd7 > > connector/connector-sdk/src/test/java/org/apache/sqoop/connector/idf/TestCSVIntermediateDataFormat.java > 2376d4a > > Diff: https://reviews.apache.org/r/28999/diff/ > > > Testing > ------- > > yes, have unit tests as well > > > Thanks, > > Veena Basavaraj > >
