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

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

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

luoyuxia updated HIVE-5737:
---------------------------
    Description: 
# 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.

  was:
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.


> 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)