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

Thejas M Nair commented on HIVE-3217:
-------------------------------------

[~rding] Thanks for the fix!
The package under "jdbc/src/java/org/apache/hadoop/hive/jdbc/" is for 
HiveServer1, the one for HiveServer2 is under 
"jdbc/src/java/org/apache/hive/jdbc/" . This patch updates the driver for 
HiveServer1, not HiveServer2. Because of the known issues in HIveServer1, it is 
not actively maintained and will be removed at some point. Would you like to 
change the patch to support HiveSErver2 ?


> Implement HiveDatabaseMetaData.getFunctions() to retrieve registered UDFs. 
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-3217
>                 URL: https://issues.apache.org/jira/browse/HIVE-3217
>             Project: Hive
>          Issue Type: Improvement
>          Components: JDBC
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Richard Ding
>         Attachments: HIVE-3217.patch
>
>
> Hive JDBC support currently throws UnsupportedException when getFunctions() 
> is called. Hive CL provides a SHOW FUNCTIONS command to return the names of 
> all registered UDFs. By getting a SQL Statement from the connection, 
> getFunctions can execute( "SHOW FUNCTIONS") to retrieve all the registered 
> functions (including those registered through create temporary function).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to