hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saptarshi Guha <saptar...@revolution-computing.com>
Subject Re: Deserializing results from ThriftHiveClient::fetch*
Date Wed, 01 Dec 2010 04:10:37 GMT
And sorry for the terrible grammar. Should have proofread.
Cheers
J
From: Saptarshi Guha <saptarshi@revolution-computing.com>
Date: November 30, 2010 4:51:35 PM PST
To: user@hive.apache.org
Subject: Deserializing results from ThriftHiveClient::fetch*




> Hello 
> 
> A few questions. Once i get the result from e.g   void fetchOne(std::string& _return);
> how does one parse the bytes in _return?
> 
> Is this what getSchema is for? Do I call getSchema, figure out the column types
> and (somehow) deserialize? Or are there functions for to deserialize this?
> The source does say something about Thrift serialized form, so maybe there could
> thrift functions to deserialize the return values from fetch*.
> 
> Once again thanks for your pointers
> 
> Cheers
> Joy
> 


Mime
View raw message