You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Brock Noland <br...@cloudera.com> on 2013/02/07 23:11:37 UTC

Re: Review Request: HIVE-3179: HBase Handler doesn't handle NULLs properly

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

Ship it!


Ship It!

- Brock Noland


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
> 
>


Re: Review Request: HIVE-3179: HBase Handler doesn't handle NULLs properly

Posted by Brock Noland <br...@cloudera.com>.

> On Feb. 7, 2013, 10:11 p.m., Brock Noland wrote:
> > Ship It!

I am not a committer.


- Brock


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


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
> 
>