|
|
-
Re: Review Request: HIVE-3179: HBase Handler doesn't handle NULLs properlyMark Grover 2013-02-08, 15:33
----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5542/#review16351 ----------------------------------------------------------- hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java <https://reviews.apache.org/r/5542/#comment34816> Lars, I noticed that the Javadoc here is inconsistent with the method signature. This is obviously unrelated to your change but if you have a chance, could you please correct the Javadoc here? - Mark Grover On June 25, 2012, 5:30 a.m., Lars Francke wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/5542/ > ----------------------------------------------------------- > > (Updated June 25, 2012, 5:30 a.m.) > > > Review request for hive. > > > Description > ------- > > This patch moves the initialization of the fieldsInited variable to the end of the loop because otherwise NULL values will return stale data on the second iteration. All other cases should be unaffected by this change. > > > This addresses bug HIVE-3179. > https://issues.apache.org/jira/browse/HIVE-3179 > > > Diffs > ----- > > hbase-handler/src/java/org/apache/hadoop/hive/hbase/LazyHBaseRow.java d35bb52 > hbase-handler/src/test/org/apache/hadoop/hive/hbase/TestLazyHBaseObject.java f91be4c > > Diff: https://reviews.apache.org/r/5542/diff/ > > > Testing > ------- > > Debugged problem, added code to existing test to force wrong behavior which is fixed by this patch, ran the hbase-handler unit tests > > > Thanks, > > Lars Francke > > |