Re: Correct way to use Hive Java API

2013-06-07 Thread Mohammad Tariq
Hello Prasad, Thank you for the reply. I was actually trying to achieve this without JDBC. Is it possible by any means? Thanks again. On Friday, June 7, 2013, Prasad Mujumdar wrote: > >I think the new Table("default", "pokes")will create a dummy table object with only the db name and ta

Re: Correct way to use Hive Java API

2013-06-07 Thread Prasad Mujumdar
I think the new Table("default", "pokes")will create a dummy table object with only the db name and table name set. It will not retrieve the table information from metastore. If you are looking for the schema information and retrieve the data, you might want to consider using the JDBC interface

Re: Correct way to use Hive Java API

2013-06-07 Thread Haidar Hadi
Hello all, I have similar issue, any idea? On Jun 4, 2013, at 11:00 PM, Mohammad Tariq wrote: > Hello list, > > I am trying to access data stored in my Hive table through the Java API > but looks like I am not using it in the correct manner. Would really > appreciate some help. Here is t