By far all the UDOs I made works in one single instance, so I actually didn’t take data distribution among instances into consideration.
Suppose now I have a SciDB database with 4 instances running, the data of the input array is distributed evenly to all instances, When my operator is executing in every instance, I just want them to process the part of chunks that are available on their own instance, then write to the corresponding part of the outputArray.
I want to know how I can achieve this? Is there any API I can use to determine whether a chunk in a certain position is available on the local instance? I can see the chunk distribution in chunk map, but I don’t know how to have access to it in UDO.