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-9645) Constant folding case NULL equality
Date Wed, 01 Apr 2015 19:41:53 GMT

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

Hive QA commented on HIVE-9645:
-------------------------------



{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/12708621/HIVE-9645.3.patch

{color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 8692 tests executed
*Failed tests:*
{noformat}
TestMinimrCliDriver-smb_mapjoin_8.q - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_cbrt
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_factorial
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_levenshtein
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_soundex
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_trunc
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_windowing_navfn
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_add_months_error_1
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_last_day_error_1
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_next_day_error_1
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_next_day_error_2
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFNextDay.testNextDayErrorArg1
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFNextDay.testNextDayErrorArg2
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3239/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3239/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3239/

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: 13 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12708621 - PreCommit-HIVE-TRUNK-Build

> Constant folding case NULL equality
> -----------------------------------
>
>                 Key: HIVE-9645
>                 URL: https://issues.apache.org/jira/browse/HIVE-9645
>             Project: Hive
>          Issue Type: Bug
>          Components: Logical Optimizer
>    Affects Versions: 0.14.0, 1.0.0, 1.1.0
>            Reporter: Gopal V
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-9645.1.patch, HIVE-9645.2.patch, HIVE-9645.3.patch, HIVE-9645.patch
>
>
> Hive logical optimizer does not follow the Null scan codepath when encountering a NULL
= 1;
> NULL = 1 is not evaluated as false in the constant propogation implementation.
> {code}
> hive> explain select count(1) from store_sales where null=1;
> ...
>              TableScan
>                   alias: store_sales
>                   filterExpr: (null = 1) (type: boolean)
>                   Statistics: Num rows: 550076554 Data size: 49570324480 Basic stats:
COMPLETE Column stats: COMPLETE
>                   Filter Operator
>                     predicate: (null = 1) (type: boolean)
>                     Statistics: Num rows: 275038277 Data size: 0 Basic stats: PARTIAL
Column stats: COMPLETE
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message