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

Hive QA commented on HIVE-7889:
-------------------------------



{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/12664689/HIVE-7889.2.patch

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 6120 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority
org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12664689

> Query fails with char partition column
> --------------------------------------
>
>                 Key: HIVE-7889
>                 URL: https://issues.apache.org/jira/browse/HIVE-7889
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>         Attachments: HIVE-7889.1.patch, HIVE-7889.2.patch, HIVE-7889.patch
>
>
> For a char partition column, JavaHiveCharObjectInspector attempts to cast 
> HiveCharWritable to HiveChar:
> {code}
> create table partition_char_1 (key string, value char(20)) partitioned by (dt 
> char(10), region int);
> insert overwrite table partition_char_1 partition(dt='2000-01-01', region=1)
>   select * from src tablesample (10 rows);
> select * from partition_char_1 limit 1;
> java.sql.SQLException: Error while compiling statement: FAILED: 
> RuntimeException org.apache.hadoop.hive.ql.metadata.HiveException: Failed 
> with exception org.apache.hadoop.hive.serde2.io.HiveCharWritable cannot be 
> cast to 
> org.apache.hadoop.hive.common.type.HiveCharjava.lang.ClassCastException: 
> org.apache.hadoop.hive.serde2.io.HiveCharWritable cannot be cast to 
> org.apache.hadoop.hive.common.type.HiveChar
>       at 
> org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaHiveCharObjectInspector.set(JavaHiveCharObjectInspector.java:67)
>       at 
> org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter$HiveCharConverter.convert(PrimitiveObjectInspectorConverter.java:506)
>       at 
> org.apache.hadoop.hive.ql.exec.FetchOperator.createPartValue(FetchOperator.java:315)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to