Dans mon keyspaceComment créer une requête similaire dans Cassandra?
posts = [
#key
'post1': {
# columns and value
'url': 'foobar.com/post1',
'body': 'Currently has client support FOOBAR for the following programming languages..',
},
'post2': {
'url': 'foobar.com/post2',
'body': 'The table with the following table FOOBAR structure...',
},
# ... ,
}
Comment créer une requête comme à Cassandra pour obtenir tous les messages qui contiennent le mot « foobar »? Dans SQL est SELECT * FROM POST WHERE BODY LIKE '%FOOBAR%'
, mais dans Cassandra?
LIKE n'est pas encore supporté par Cassandra. – bitcycle