Re: nulls in prepared statement & tombstones?

2016-03-09 Thread Steve Robenalt
Thanks Adam, that's good to know. On Wed, Mar 9, 2016 at 7:42 AM, Adam Holmberg wrote: > The referenced article is accurate as far as NULL is concerned, but please > also note that there is now the ability to specify UNSET to avoid > unnecessary tombstones (as of

Re: nulls in prepared statement & tombstones?

2016-03-09 Thread Adam Holmberg
The referenced article is accurate as far as NULL is concerned, but please also note that there is now the ability to specify UNSET to avoid unnecessary tombstones (as of Cassandra 2.2.0): https://issues.apache.org/jira/browse/CASSANDRA-7304 Adam On Tue, Mar 8, 2016 at 12:15 PM, Henry M

Re: nulls in prepared statement & tombstones?

2016-03-08 Thread Henry M
Thank you. It's probably not specific to prepared statements then and just a more general statement. That makes sense. On Tue, Mar 8, 2016 at 10:06 AM Steve Robenalt wrote: > Hi Henry, > > I would suspect that the tombstones are necessary to overwrite any > previous

Re: nulls in prepared statement & tombstones?

2016-03-08 Thread Steve Robenalt
Hi Henry, I would suspect that the tombstones are necessary to overwrite any previous values in the null'd columns. Since Cassandra avoids read-before-write, there's no way to be sure that the nulls were not intended to remove any such previous values, so the tombstones insure that they don't

nulls in prepared statement & tombstones?

2016-03-08 Thread Henry Manasseh
The following article makes the following statement which I am trying to understand: *"Cassandra’s storage engine is optimized to avoid storing unnecessary empty columns, but when using prepared statements those parameters that are not provided result in null values being passed to Cassandra (and