Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # user - Some additions to the hive jdbc driver.


Copy link to this message
-
Some additions to the hive jdbc driver.
Bennie Schut 2010-02-03, 08:31
I've been using the hive jdbc driver more and more and was missing some
functionality which I added

HiveDatabaseMetaData.getTables
Using "show tables" to get the info from hive.

HiveDatabaseMetaData.getColumns
Using "describe tablename" to get the columns.

This makes using something like SQuirreL a lot nicer since you have the
list of tables and just click on the content tab to see what's in the table.
I also implemented
HiveResultSet.getObject(String columnName) so you call most get* methods
based on the column name.

Is it worth making a patch for this?