I have a task which makes me to work on 2 sets from stream UDF. More precisely I want to filter data in set 1 based on data in set 2 (server side join).
Now aerospike Lua object has exists, create, update functions but doesn’t support get()/set() operations,
So far one option I found is to return data from set 1 to the client then make a batch get and after that filter data. Client side filtering will be too heavy as records are quite big to transfer all of them.
Second option is to merge both sets into one which is bad as I won’t be able to keep secondary indexes for quick aggregates.
Is there any way to implement server side joins?