Hi Ghousia, You might want to look at the JDBC2 driver code as an example of handling the HiveServer2 thrift API in Java. The HiveServer2 thrift interface doesn't expose storage descriptor or partitions. This interface is more aligned with JDBC/ODBC spec for data and metadata operations.
thanks Prasad On Fri, May 24, 2013 at 3:15 AM, Ghousia <ghousia.ath...@gmail.com> wrote: > Hi, > > Has anyone explore on thrift java client for HiveServer2? > > I have a java client in place which connects to HiveServer2 and gets table > details. > > What I am yet to figure out is how to read the actual table content. How > to get handle on table's storage descriptor. ThriftCLIServiceClient do > not provide any methods to work with partitions/databases. Any pointers? > > Appreciate your help! > > MAny Thanks, > Ghousia. >