And sorry for the terrible grammar. Should have proofread.
Cheers
J
From: Saptarshi Guha <[email protected]>
Date: November 30, 2010 4:51:35 PM PST
To: [email protected]
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
> 

Reply via email to