I found that ‘record’ passed to map() function from stream cannot be updated using aerospike:update().
Is it an architectural “read only” approach for stream UDFs or I found a bug?
There are a few reasons for me to request this functionallity:
- Record UDFs can be applied either to all records or only 1 record. I want to modify only subset using secondary indexes.
- I’m using stream UDF to group records. On the last step I want to update each record in the group with ids of other records in the same group. Otherwise I’ll have to return groupping result to the client and make him execute update for each record in the group.