Dear Mr Jonathan, I have tested on version 0.4.2 and 0.5.0. The attachment contains my test case.
On Tue, Dec 15, 2009 at 12:44 PM, Jonathan Ellis <jbel...@gmail.com> wrote: > ... oh, and what version are you running against? > > On Tue, Dec 15, 2009 at 11:04 AM, Jonathan Ellis <jbel...@gmail.com> > wrote: > > there is similar logic already in multigetInternal, so it's not > > immediately clear what the bug is. > > > > can you supply a test case against the example CF definitions > > illustrating the problem? > > > > On Tue, Dec 15, 2009 at 4:03 AM, JKnight JKnight <beukni...@gmail.com> > wrote: > >> Dear Mr Jonathan, > >> > >> I have changed a litle in multigetColumns method in CassandraServer.java > >> file to solve this error. > >> > >> if (columns != null && columns.size() != 0) > >> { > >> Iterator<IColumn> columnItr = columns.iterator(); > >> IColumn column; > >> while (columnItr.hasNext()) { > >> column = (IColumn) columnItr.next(); > >> if(column.isMarkedForDelete()){ > >> columns.remove(column); > >> } > >> } > >> columnFamiliesMap.put(command.key, columns); > >> } > >> > >> On Mon, Dec 14, 2009 at 8:33 AM, Jonathan Ellis <jbel...@gmail.com> > wrote: > >>> > >>> yes, that would be a bug > >>> > >>> On 12/14/09, JKnight JKnight <beukni...@gmail.com> wrote: > >>> > Dear all, I found method get_count still count "deleted" column. Is > this > >>> > an > >>> > error? > >>> > > >>> > get_count > >>> > > >>> > - > >>> > > >>> > i32 get_count(keyspace, key, column_parent, consistency_level) > >>> > > >>> > Counts the columns present in column_parent. > >>> > > >>> > -- > >>> > Best regards, > >>> > JKnight > >>> > > >> > >> > >> > >> -- > >> Best regards, > >> JKnight > >> > > > -- Best regards, JKnight
TestGetCount.php.tar.gz
Description: GNU Zip compressed data