You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "xiangqiao (Jira)" <ji...@apache.org> on 2021/12/02 11:24:00 UTC

[jira] [Commented] (HIVE-5737) Provide StructObjectInspector for UDTFs rather than ObjectInspect[]

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

xiangqiao commented on HIVE-5737:
---------------------------------

hi [~luoyuxia] , When I execute this SQL, it will throw an parse exception.  Was this fully implemented? 
{code:java}
select explode(split('a,b,c',','));{code}

> Provide StructObjectInspector for UDTFs rather than ObjectInspect[]
> -------------------------------------------------------------------
>
>                 Key: HIVE-5737
>                 URL: https://issues.apache.org/jira/browse/HIVE-5737
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Navis Ryu
>            Assignee: Navis Ryu
>            Priority: Trivial
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5737.1.patch.txt
>
>
> # In UDTF, column names can be useful sometimes. For example, complex function with many optional parameters something like,
> xml_explode('\t' as field, '\n' as line, '=' as mapkey, ':' as items, input)
> Without column name, it's not easy to discern each parameter is for what.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)