hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3491) Expose column names to UDFs
Date Thu, 20 Sep 2012 20:33:09 GMT

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

Edward Capriolo commented on HIVE-3491:
---------------------------------------

It is just as likely to get completed as any other issue. Though logically issue is somewhat
interesting. A function in the conventional sense is something gets passed inputs between
(), but this issues is acting a function to be not a function by accessing a context and possibly
implementing logic that is not functional. (I really do not mind this case) but it seems to
me if the user wants to pass the column name into a function they can without help from hive.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message