You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (Jira)" <ji...@apache.org> on 2020/05/22 11:45:00 UTC

[jira] [Commented] (HIVE-23529) CTAS is broken for uniontype when row_deserialize

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

Hive QA commented on HIVE-23529:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13003699/HIVE-23529.patch

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

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 17278 tests executed
*Failed tests:*
{noformat}
TestStatsReplicationScenariosACID - did not produce a TEST-*.xml file (likely timed out) (batchId=187)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[row_deserialize_with_union] (batchId=6)
org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=173)
org.apache.hadoop.hive.serde2.objectinspector.TestStandardObjectInspectors.testStandardUnionObjectInspector (batchId=309)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/22543/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22543/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22543/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
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: 13003699 - PreCommit-HIVE-Build

> CTAS is broken for uniontype when row_deserialize
> -------------------------------------------------
>
>                 Key: HIVE-23529
>                 URL: https://issues.apache.org/jira/browse/HIVE-23529
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mustafa Iman
>            Assignee: Mustafa Iman
>            Priority: Major
>         Attachments: HIVE-23529.patch
>
>
> CTAS queries fail when there is a uniontype in source table and hive.vectorized.use.vector.serde.deserialize=false.
> ObjectInspectorUtils.copyToStandardObject in ROW_DESERIALIZE path extracts the value from union type. However, VectorAssignRow expects a StandardUnion object causing ClassCastException for any CTAS query.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)