Should PREPARE QUERY return metadata for the query result?

2014-07-23 Thread Ben Hood
Hi all, I'm looking at the specification of statement preparation (section 4.2.5.4 of the CQL protocol) and I'm wondering whether the metadata result of the PREPARE query only returns column information for the query arguments, and not for the columns of the actual query result. The background

Re: Should PREPARE QUERY return metadata for the query result?

2014-07-23 Thread Ben Hood
On Wed, Jul 23, 2014 at 11:14 AM, Ben Hood 0x6e6...@gmail.com wrote: But I was wondering if we were doing something wrong by not returning the result meta data from the PREPARE result (if it does indeed exist). Looking into this a bit further, it looks like the client driver needs to

Re: Should PREPARE QUERY return metadata for the query result?

2014-07-23 Thread Ben Hood
On Wed, Jul 23, 2014 at 12:07 PM, Ben Hood 0x6e6...@gmail.com wrote: Or have I just been looking at the wrong version of the spec all along? So it turns out that this is a case of PEBCAK: v2 of the protocol is formulated thusly: 4.2.5.4. Prepared The result to a PREPARE message. The rest of