Hello i am very new to aeropsike
how to delete a bin from a set, i have a set called demo and bins are (id,name,contact_number,fav_color) from that i need to delete ‘fav_color’ bin from set how to delete that ??
Thanks!
Hello i am very new to aeropsike
how to delete a bin from a set, i have a set called demo and bins are (id,name,contact_number,fav_color) from that i need to delete ‘fav_color’ bin from set how to delete that ??
Thanks!
Set the bin value to null for each record in the set. Don’t confuse a set in Aerospike with a table with fixed number of columns where you can just delete a column.
How to set the bin value to null for each record in the set ??
If you want a specific bin to be removed from all the records in a given set I’d advise you to write a record UDF for it, and execute it against all the records of the set through a scan.
aql> execute myudfs.null_a_bin('crud') on test.foo
Thank you @rbotzer