You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-dri...@lists.datastax.com
Thanks Olivier. Is there any other way of doing it? I did not wanted to use the raw delete statement or QueryBuilder that uses delete function.
Olivier Michallat
unread,
Oct 22, 2014, 11:19:47 AM10/22/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-dri...@lists.datastax.com
Not that I'm aware of. Maps don't support the "delete with update" syntax that sets have (UPDATE foo SET s = s - {e} ...). I don't know if there's a good reason for that, you can ask on the Cassandra user mailing list if you want more details.
--
Olivier Michallat
Driver & tools engineer, DataStax
hemabs
unread,
Oct 23, 2014, 12:40:11 AM10/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-dri...@lists.datastax.com
Thank you Olivier. Appreciate it.
DuyHai Doan
unread,
Oct 23, 2014, 11:05:28 AM10/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to java-dri...@lists.datastax.com
Or you can do
UPDATE foo SET m['key'] = null WHERE k=1
Setting null means deleting in CQL, at least for now, it may change in the future
hemabs
unread,
Oct 28, 2014, 2:41:01 PM10/28/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message