Can i use splitvector on ATLAS?

Hello there, i am using apache beam which uses splitVector command on mongodb.
but when i try to use it with atlas i get this error :
pymongo.errors.OperationFailure: not authorized on 67f4a620c3d5 to execute command { splitVector: “67f4a620c3d5.618725a7906b”, keyPattern: { _id: 1 }…

is there a way i can grant permissions to a user to use splitVector ?

Hi @ali_ihsan_erdem welcome to the community!

Unfortunately the SplitVector command is not available in Atlas. However, the Apache Beam team recognizes this issue and provided a workaround: module read from MongoDB. In short, use the bucket_auto option instead.

Best regards

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.