hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20255) Review LevelOrderWalker.java
Date Wed, 30 Jan 2019 21:08:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16756550#comment-16756550
] 

Hive QA commented on HIVE-20255:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12956902/HIVE-20255.17.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), 15718 tests executed
*Failed tests:*
{noformat}
TestReplicationScenariosIncrementalLoadAcidTables - did not produce a TEST-*.xml file (likely
timed out) (batchId=251)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15847/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15847/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15847/

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: 12956902 - PreCommit-HIVE-Build

> Review LevelOrderWalker.java
> ----------------------------
>
>                 Key: HIVE-20255
>                 URL: https://issues.apache.org/jira/browse/HIVE-20255
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HIVE-20255.10.patch, HIVE-20255.11.patch, HIVE-20255.12.patch, HIVE-20255.13.patch,
HIVE-20255.14.patch, HIVE-20255.15.patch, HIVE-20255.16.patch, HIVE-20255.17.patch, HIVE-20255.9.patch
>
>
> https://github.com/apache/hive/blob/6d890faf22fd1ede3658a5eed097476eab3c67e9/ql/src/java/org/apache/hadoop/hive/ql/lib/LevelOrderWalker.java
> * Make code more concise
> * Fix some check style issues
> {code}
>       if (toWalk.get(index).getChildren() != null) {
>         for(Node child : toWalk.get(index).getChildren()) {
> {code}
> Actually, the underlying implementation of {{getChildren()}} has to do some real work,
so do not throw away the work after checking for null.  Simply call once and store the results.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message