> On July 28, 2016, 3:03 p.m., Aihua Xu wrote: > > ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFStringToMap.java, > > line 95 > > <https://reviews.apache.org/r/50503/diff/1/?file=1455162#file1455162line95> > > > > 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.
Thanks a lot for the confirmation. Then i will leave my changes. - Marta ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50503/#review143944 ----------------------------------------------------------- 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 > >