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

Hive QA commented on HIVE-4821:
-------------------------------



{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/12607711/HIVE-4821.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 4060 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1090/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1090/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests failed with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

> Implement vectorized type casting for all types
> -----------------------------------------------
>
>                 Key: HIVE-4821
>                 URL: https://issues.apache.org/jira/browse/HIVE-4821
>             Project: Hive
>          Issue Type: Sub-task
>    Affects Versions: 0.13.0
>            Reporter: Eric Hanson
>            Assignee: Eric Hanson
>         Attachments: HIVE-4821.1.patch
>
>
> Implement vectorized support for casting from any type to any type.
> From the documentation:
> cast(expr as <type>): Converts the results of the expression expr to <type> 
> e.g. cast('1' as BIGINT) will convert the string '1' to it integral 
> representation. A null is returned if the conversion does not succeed
> The current supported internal types are:
> LONG
> DOUBLE
> STRING
> TIMESTAMP
> Before implementation, determine what are the semantics of explicit casting 
> to types less general than the internal types. E.g. what if you cast DOUBLE 
> to TINYINT? Can we just cast internally to LONG and let the output process 
> cast to TINYINT? 
> This JIRA includes all work to make casting operate end-to-end in a SQL query 
> in vectorized mode, including updates to VectorizationContext.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to