hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding" <rd...@yahoo-inc.com>
Subject Review Request: HIVE-3217: Implement HiveDatabaseMetaData.getFunctions() to retrieve registered UDFs
Date Tue, 11 Sep 2012 17:17:04 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message