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

Hive QA commented on HIVE-20847:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12956161/HIVE-20847.4.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 15709 tests passed

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

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
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12956161 - PreCommit-HIVE-Build

> Review of NullScan Code
> -----------------------
>
>                 Key: HIVE-20847
>                 URL: https://issues.apache.org/jira/browse/HIVE-20847
>             Project: Hive
>          Issue Type: Improvement
>          Components: Physical Optimizer
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HIVE-20847.1.patch, HIVE-20847.1.patch, 
> HIVE-20847.1.patch, HIVE-20847.2.patch, HIVE-20847.3.patch, HIVE-20847.4.patch
>
>
> What got me looking at this class was the verboseness of some of the logging. 
>  I would like to request that we DEBUG the logging since this level of detail 
> means nothing to a cluster admin.
> Also... this {{contains}} call would be better applied onto a {{HashSet}} 
> instead of an {{ArrayList}}.
> {code:java|title=NullScanTaskDispatcher.java}
>   private void processAlias(MapWork work, Path path, ArrayList<String> 
> aliasesAffected, ArrayList<String> aliases) {
>     // the aliases that are allowed to map to a null scan.
>     ArrayList<String> allowed = new ArrayList<String>();
>     for (String alias : aliasesAffected) {
>       if (aliases.contains(alias)) {
>         allowed.add(alias);
>       }
>     }
> {code}



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

Reply via email to