Re: simple vs complex cells

2018-01-23 Thread Minh Do
t: Tuesday, January 23, 2018 5:24 PM > To: dev@cassandra.apache.org > Subject: Re: simple vs complex cells > > Based on C* 3.x code base, I believe a complex column consists of many > cells and each cell has its own timestamp. > > Then, there is a method to compute the maxTimes

RE: simple vs complex cells

2018-01-23 Thread Tyagi, Preetika
data is the latest and should be returned to the user? Preetika -Original Message- From: Minh Do [mailto:m...@netflix.com.INVALID] Sent: Tuesday, January 23, 2018 5:24 PM To: dev@cassandra.apache.org Subject: Re: simple vs complex cells Based on C* 3.x code base, I believe a complex

Re: simple vs complex cells

2018-01-23 Thread Minh Do
Based on C* 3.x code base, I believe a complex column consists of many cells and each cell has its own timestamp. Then, there is a method to compute the maxTimestamp for a complex column: public long maxTimestamp() { long timestamp = complexDeletion.markedForDeleteAt(); for (Cell cell :

simple vs complex cells

2018-01-23 Thread Tyagi, Preetika
Hi all, I'm trying to understand the behavior of simple and complex columns in Cassandra. I was looking at UnfilteredSerializer.java, serializeRowBody() checks for a timestamp flag and then only it writes it. In case of writeComplexColumn(), there is no timestamp being written. Also, as per my