hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Filipiak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3491) Expose column names to UDFs
Date Fri, 23 Dec 2016 09:17:58 GMT

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

Jan Filipiak commented on HIVE-3491:
------------------------------------

Hello just want to let people know that I actually do this asterisk thing now and ran into
exactly this limitation. Now i will probably need todo mapping to the user expected StructOi
output by ordinal position, wich makes schema evolution a lot harder :( 

Anyone plans on getting this done?

> Expose column names to UDFs
> ---------------------------
>
>                 Key: HIVE-3491
>                 URL: https://issues.apache.org/jira/browse/HIVE-3491
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor, UDF
>            Reporter: Adam Kramer
>
> If I run
> SELECT MY_FUNC(a.foo, b.bar) FROM baz1 a JOIN baz2 b;
> ...the parsed query structure (i.e., that "foo" and "bar" are the name of the columns)
should be available to the UDF in some manner.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message