[ https://issues.apache.org/jira/browse/HIVE-11544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715986#comment-14715986 ]
Hive QA commented on HIVE-11544: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12752576/HIVE-11544.3.patch {color:red}ERROR:{color} -1 due to 24 failed/errored test(s), 9377 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_decimal_udf2 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_round_2 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_math_funcs org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_udf2 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorized_math_funcs org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_udf2 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_auto_join_nulls org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_bucketmapjoin2 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_column_access_stats org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_join24 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_join9 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_join_array org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_load_dyn_part15 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_ppd_join3 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_ppd_join4 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_stats_counter org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_temp_table org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_transform1 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_union_remove_17 org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vector_string_concat org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver_vectorization_14 org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1 org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation org.apache.hive.hcatalog.streaming.TestStreaming.testTimeOutReaper {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5082/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5082/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5082/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 24 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12752576 - PreCommit-HIVE-TRUNK-Build > LazyInteger should avoid throwing NumberFormatException > ------------------------------------------------------- > > Key: HIVE-11544 > URL: https://issues.apache.org/jira/browse/HIVE-11544 > Project: Hive > Issue Type: Improvement > Components: Serializers/Deserializers > Affects Versions: 0.14.0, 1.2.0, 1.3.0, 2.0.0 > Reporter: William Slacum > Assignee: Gopal V > Priority: Minor > Labels: Performance > Attachments: HIVE-11544.1.patch, HIVE-11544.2.patch, > HIVE-11544.3.patch > > > {{LazyInteger#parseInt}} will throw a {{NumberFormatException}} under these > conditions: > # bytes are null > # radix is invalid > # length is 0 > # the string is '+' or '-' > # {{LazyInteger#parse}} throws a {{NumberFormatException}} > Most of the time, such as in {{LazyInteger#init}} and {{LazyByte#init}}, the > exception is caught, swallowed, and {{isNull}} is set to {{true}}. > This is generally a bad workflow, as exception creation is a performance > bottleneck, and potentially repeating for many rows in a query can have a > drastic performance consequence. > It would be better if this method returned an {{Optional<Integer>}}, which > would provide similar functionality with a higher throughput rate. > I've tested against 0.14.0, and saw that the logic is unchanged in 1.2.0, so > I've marked those as affected. Any version in between would also suffer from > this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)