25729d9d263622042b2feed5ad658131266cffe7 | Author: Michael Highstead <michael.highstead@shopify.com>
| 2017-05-06 17:21:19-04:00
Support for UnSet columns (#903)
* Support for UnSet columns
- Adding support for the UNSET_VALUE in gocql
References:
- Cassandra: https://issues.apache.org/jira/browse/CASSANDRA-7304
- gocql/gocql#861
> Protocol version 4 specifies that bind variables do not require having a
> value when executing a statement. Bind variables without a value are
> called 'unset'. The 'unset' bind variable is serialized as the int
> value '-2' without following bytes.
* Adding tests
* Skipping tests if not in protocol v4
* Code review changes
- Moved Unmarshal to individual unmarshal functions
- Added error handling for tuples and UDTs