You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Richard Ding <rd...@yahoo-inc.com> on 2012/09/11 19:17:04 UTC
Review Request: HIVE-3217: Implement HiveDatabaseMetaData.getFunctions() to
retrieve registered UDFs
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7023/
-----------------------------------------------------------
Review request for hive and Ashutosh Chauhan.
Description
-------
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 addresses bug HIVE-3217.
https://issues.apache.org/jira/browse/HIVE-3217
Diffs
-----
http://svn.apache.org/repos/asf/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveConnection.java 1355487
http://svn.apache.org/repos/asf/hive/trunk/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveDatabaseMetaData.java 1355487
http://svn.apache.org/repos/asf/hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java 1355487
Diff: https://reviews.apache.org/r/7023/diff/
Testing
-------
ant test -Dtestcase=TestJdbcDriver passed
Thanks,
Richard Ding