You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/02/05 08:27:35 UTC

[jira] [Work started] (HIVE-9587) UDF decode should accept STRING_GROUP types for the second parameter

     [ https://issues.apache.org/jira/browse/HIVE-9587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HIVE-9587 started by Alexander Pivovarov.
-------------------------------------------------
> 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
>
>
> 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)