[ https://issues.apache.org/jira/browse/HIVE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308561#comment-14308561 ]
Hive QA commented on HIVE-9587: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12696691/HIVE-9587.2.patch {color:green}SUCCESS:{color} +1 7479 tests passed Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2677/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2677/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2677/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12696691 - PreCommit-HIVE-TRUNK-Build > UDF decode should accept STRING_GROUP types for the second parameter > -------------------------------------------------------------------- > > Key: HIVE-9587 > URL: https://issues.apache.org/jira/browse/HIVE-9587 > Project: Hive > Issue Type: Bug > Components: UDF > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Attachments: HIVE-9587.1.patch, HIVE-9587.2.patch > > > 1. UDF decode should accept STRING_GROUP types for the second parameter > 2. Fix error messages. (replace Encode with Decode) > {code} > select decode(cast('A' as binary), cast('utf-8' as varchar(5))); > FAILED: SemanticException [Error 10016]: Line 1:59 Argument type mismatch > ''utf-8'': The second argument to Encode() must be a string > {code} > 3. remove unused imports > 4. add udf_decode.q test -- This message was sent by Atlassian JIRA (v6.3.4#6332)