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