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-4873) Sort candidate functions in case of UDFArgumentException
Date Thu, 18 Jul 2013 00:54:53 GMT

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

Hive QA commented on HIVE-4873:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

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

{color:green}SUCCESS:{color} +1 all tests passed

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

Messages:
Executing org.apache.hive.ptest.execution.CleanupPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase

This message is automatically generated.
                
> Sort candidate functions in case of UDFArgumentException
> --------------------------------------------------------
>
>                 Key: HIVE-4873
>                 URL: https://issues.apache.org/jira/browse/HIVE-4873
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.10.0, 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>            Priority: Minor
>             Fix For: 0.11.1
>
>         Attachments: HIVE-4873.patch
>
>
> When Hive provides a list of candidate functions in case of UDFArgumentException such
as for the following query:
> {code}
> create table tbl (a binary);
> select cast (a as tinyint) from tbl limit 1;
> {code}
> the list is not sorted, so the output is not deterministic. Also, we have many test cases
depending on the ordering. Thus, it's good to sort the list before emitting it.
> This should fixes quite a few test case failures when Hive runs in JDK7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message