You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/08/07 15:19:00 UTC
[jira] [Commented] (HIVE-27563) Add typeof UDF
[ https://issues.apache.org/jira/browse/HIVE-27563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751711#comment-17751711 ]
Ayush Saxena commented on HIVE-27563:
-------------------------------------
Committed to master.
Thanx [~jfs] for the contribution & [~okumin] for the review
> Add typeof UDF
> --------------
>
> Key: HIVE-27563
> URL: https://issues.apache.org/jira/browse/HIVE-27563
> Project: Hive
> Issue Type: Improvement
> Components: UDF
> Reporter: John Sherman
> Assignee: John Sherman
> Priority: Minor
> Labels: pull-request-available
>
> It would be useful to have a typeof UDF that returns a string describing the type of the argument.
> For example:
> SELECT typeof(int_column) FROM made_up_table
> would return:
> int
> This is useful for test purposes and debugging purposes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)