
上QQ阅读APP看书,第一时间看更新
Missing rows
What happens when we ask for a primary key that doesn't exist? Let's try it out:
SELECT * FROM "users"
WHERE "username" = 'bogus';
You'll see that Cassandra simply returns no results; it is not an error to try to retrieve a primary key that does not exist.