hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5731) Use new GenericUDF instead of basic UDF for UDFDate* classes
Date Thu, 07 Nov 2013 06:31:18 GMT

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

Hive QA commented on HIVE-5731:
-------------------------------



{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/12612229/HIVE-5731.3.patch

{color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 4558 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_date_udf
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_timestamp_udf
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf5
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf9
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_to_date
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_reduce_deduplicate
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/158/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/158/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: 6 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12612229

> Use new GenericUDF instead of basic UDF for UDFDate* classes 
> -------------------------------------------------------------
>
>                 Key: HIVE-5731
>                 URL: https://issues.apache.org/jira/browse/HIVE-5731
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>         Attachments: HIVE-5731.1.patch, HIVE-5731.2.patch, HIVE-5731.3.patch
>
>
> GenericUDF class is the latest and recommended base class for any UDFs.
> This JIRA is to change the current UDFDate* classes extended from GenericUDF.
> The general benefit of GenericUDF is described in comments as
> "* The GenericUDF are superior to normal UDFs in the following ways: 1. It can
>     accept arguments of complex types, and return complex types. 2. It can accept
>     variable length of arguments. 3. It can accept an infinite number of function
>     signature - for example, it's easy to write a GenericUDF that accepts
>     array<int>, array<array<int>> and so on (arbitrary levels of nesting).
4. It
>     can do short-circuit evaluations using DeferedObject."



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

Mime
View raw message