You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2014/10/22 14:30:34 UTC
[jira] [Commented] (HIVE-8555) Too many casts results in loss of
original string representation for constant
[ https://issues.apache.org/jira/browse/HIVE-8555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179848#comment-14179848 ]
Hive QA commented on HIVE-8555:
-------------------------------
{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/12676235/HIVE-8555.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6574 tests executed
*Failed tests:*
{noformat}
org.apache.hive.minikdc.TestJdbcWithMiniKdc.testNegativeTokenAuth
{noformat}
Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1390/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1390/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1390/
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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12676235 - PreCommit-HIVE-TRUNK-Build
> Too many casts results in loss of original string representation for constant
> ------------------------------------------------------------------------------
>
> Key: HIVE-8555
> URL: https://issues.apache.org/jira/browse/HIVE-8555
> Project: Hive
> Issue Type: Bug
> Components: Logical Optimizer
> Affects Versions: 0.14.0
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-8555.patch
>
>
> {code}
> SELECT key, value FROM src WHERE key = cast(86 as double);
> 86.0 val_86
> {code}
> With constant propagate off we get different and correct result.
> {code}
> set hive.optimize.constant.propagation=false;
> SELECT key, value FROM src WHERE key = cast(86 as double);
> 86 val_86
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)