0 votes
Hi,

I'm facing an issue trying to sync 2 mongo collections for which I checked the dataset connection option "Import object ids". If I sync a collection A in which I have ids of type "ObjectId" with a new (empty) collection B, the field _id of every objects in my collection B are casted to string (instead of keeping the original type ObjectId).

I tried to modify the schema of the two datasets to explicitly specify a type Object for the field _id but it is still casted to string when syncing.

My question is : how can I sync two mongo collections keeping ids of type ObjectId?

Thanks!
Martin
by

Please log in or register to answer this question.

1,296 questions
1,323 answers
1,505 comments
11,862 users

┬ęDataiku 2012-2018 - Privacy Policy