Re: CQL results are confusing me

2012-08-20 Thread Juan Ezquerro
EmailAddress is not indexed, must declare key for this before can do a search. 2012/8/20 Peter Morris > Consider the following statements > > #1 New family is created so I have no data > create columnfamily Test (UserName varchar primary key, EmailAddress > varchar); > > #2 Count how many rows I

CQL results are confusing me

2012-08-20 Thread Peter Morris
Consider the following statements #1 New family is created so I have no data create columnfamily Test (UserName varchar primary key, EmailAddress varchar); #2 Count how many rows I have select count(1) from Test; -Expected: 0 -Actual: 0 #3 Select all users with a specific email address select *