Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Re: Review Request: HIVE-3179: HBase Handler doesn't handle NULLs properly


Copy link to this message
-
Re: Review Request: HIVE-3179: HBase Handler doesn't handle NULLs properly
Shreepadma Venugopalan 2013-02-07, 22:21

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

Ship it!
Ship It!

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