[
https://issues.apache.org/jira/browse/HIVE-21835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858028#comment-16858028
]
Hive QA commented on HIVE-21835:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12971028/HIVE-21835.2.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 16079 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosAcidTablesBootstrap.testBootstrapAcidTablesDuringIncrementalWithConcurrentWrites
(batchId=246)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/17456/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17456/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17456/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12971028 - PreCommit-HIVE-Build
> Unnecessary null checks in org.apache.hadoop.hive.ql.optimizer.StatsOptimizer
> -----------------------------------------------------------------------------
>
> Key: HIVE-21835
> URL: https://issues.apache.org/jira/browse/HIVE-21835
> Project: Hive
> Issue Type: Improvement
> Reporter: Ivan Suller
> Assignee: Ivan Suller
> Priority: Minor
> Attachments: HIVE-21835.1.patch, HIVE-21835.2.patch
>
>
> There are several null checks in
> org.apache.hadoop.hive.ql.optimizer.StatsOptimizer after Long.parseLong(...)
> call. This method returns with a primitive long value, which cannot be null -
> a null check after this call is redundant.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)