hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-15939) Make cast expressions comply more to sql2011
Date Mon, 27 Feb 2017 19:35:46 GMT


Hive QA commented on HIVE-15939:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 10269 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=223)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 2 tests failed

This message is automatically generated.

ATTACHMENT ID: 12854944 - PreCommit-HIVE-Build

> Make cast expressions comply more to sql2011
> --------------------------------------------
>                 Key: HIVE-15939
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Zoltan Haindrich
>            Assignee: Teddy Choi
>         Attachments: HIVE-15939.1.patch, HIVE-15939.2.patch, HIVE-15939.3.patch
> in HIVE-6590 Jason have uncovered the fact that UDFToBoolean treats all non-empty strings
as true.
> It would be great to have the cast expressions closer to the least when
there is an expected behaviour from the user;
> like {{cast('false' as boolean)}} should be true.

This message was sent by Atlassian JIRA

View raw message