Thank you, I have found the functions in ThriftHiveMetastore.h, I should get 
the table, then its storage descriptor, then the location, just like Mr.Gates 
said. Since this function I am writing will be called in C project, C/C++ is 
more convenient.
> 在 2018年4月27日,上午1:42,Alexander Kolbasov <ak...@cloudera.com> 写道:
> 
> Do you need to do this from C/C++? I have a set of tools that you can use
> to talk to HMS via thrift using Java, Python or Go.
> 
> On Thu, Apr 26, 2018 at 5:23 AM, 侯宗田 <zongtian...@icloud.com> wrote:
> 
>> Hi,
>> 
>> I am writing a simple thrift HMS client to get table location on hdfs, I
>> generate the cpp code from hive_metastore.thrift, Can someone give me some
>> guide of how to do it next, the info I searched on the internet is too
>> abstract and not to my need precisely.

Reply via email to