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 2015/02/24 12:00:07 UTC

[jira] [Commented] (HIVE-9767) Fixes in Hive UDF to be usable in Pig

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

Hive QA commented on HIVE-9767:
-------------------------------



{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/12700374/HIVE-9767.1.patch

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 7566 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_cbo_udf_udaf
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_case_column_pruning
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_cbo_udf_udaf
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12700374 - PreCommit-HIVE-TRUNK-Build

> Fixes in Hive UDF to be usable in Pig
> -------------------------------------
>
>                 Key: HIVE-9767
>                 URL: https://issues.apache.org/jira/browse/HIVE-9767
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>         Attachments: HIVE-9767.1.patch
>
>
> There are issues in UDF never get exposed because the execution path is never tested:
> 1. Assume the ObjectInspector to be WritableObjectInspector not the ObjectInspector pass to UDF
> 2. Assume the input parameter to be Writable not respecting the ObjectInspector pass to UDF
> 3. Assume ConstantObjectInspector to be WritableConstantXXXObjectInspector
> 4. The InputObjectInspector does not match OutputObjectInspector of previous stage in UDAF
> 5. The execution path involving convertIfNecessary is never been tested
> Attach a patch to fix those.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)