Re: perl code generated from thrift

2012-05-29 Thread Stephen Sprague
Thanks Ed. I'll be glad to bark up another tree - just want to make sure its the most relevant tree! :) In my case i'm not sure if its a hive or thrift domain issue i have. Ultimately though like you suggest if "thrift -gen perl" and "thrift -gen py" _given the same input_ don't quite generate

Re: perl code generated from thrift

2012-05-29 Thread Edward Capriolo
I never tried to this exactly but are you sure your thrift version matches what hive is using? If not I would consider talking to the #thrift guys because thrift SHOULD_BE generating bindings for every language roughly the same. (How is that for passing the buck?) Edward On Tue, May 29, 2012 at 1

Re: perl code generated from thrift

2012-05-29 Thread Stephen Sprague
thanks Ed. Something just isn't quite right. in .$HOME/downloads/hive-0.9.0/src/metastore/if/hive_metastore.thrift there is a 'struct Schema' entry but all attempts to generate the perl code for that seem to come up empty. looking at -gen py and the associated code i see this code frag in Thrif

Re: perl code generated from thrift

2012-05-29 Thread Edward Capriolo
Hive uses thrift in two places 1) HiveServer 2)Metastore . Search in the metastore directory for the thrift interface file and compile that. Then you should get a class generated for hive_metastore.Schema Edward On Tue, May 29, 2012 at 11:46 AM, Stephen Sprague wrote: > Hi Good People, > I am