hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aihua Xu <...@cloudera.com>
Subject Re: Review Request 50503: HIVE-12954: NPE with str_to_map on null strings
Date Thu, 28 Jul 2016 15:03:51 GMT

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




ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFStringToMap.java (line 95)
<https://reviews.apache.org/r/50503/#comment209888>

    I see. You are passing OIs even delimiters are missing and also passing NULLs for delimiters
for the unit tests.
    
    I think your change is fine since it's possible that we can call like this. You can leave
like this.


- Aihua Xu


On July 27, 2016, 2:51 p.m., Marta Kuczora wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50503/
> -----------------------------------------------------------
> 
> (Updated July 27, 2016, 2:51 p.m.)
> 
> 
> Review request for hive, Aihua Xu and Sergio Pena.
> 
> 
> Bugs: HIVE-12954
>     https://issues.apache.org/jira/browse/HIVE-12954
> 
> 
> Repository: hive-git
> 
> 
> Description
> -------
> 
> HIVE-12954: NPE with str_to_map on null strings
> 
> 
> Diffs
> -----
> 
>   ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFStringToMap.java ed60fbf

>   ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFStringToMap.java PRE-CREATION

> 
> Diff: https://reviews.apache.org/r/50503/diff/
> 
> 
> Testing
> -------
> 
> Added new unit test for GenericUDFStringToMap, please see the patch for details.
> Also did manual testing.
> 
> 
> Thanks,
> 
> Marta Kuczora
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message