Sync nested object from mongo

Hi

I sync documents from mongo and the result on rockset side of an String array has changed since few days

Mongo documents :

{
“name”:“john doe”,
“tags”:[
“tag1”,
“tag2”
]
}

Rockset Before change :

{
“name”:“john doe”,
“tags”:[
“tag1”,
“tag2”
]
}

Rockset after change

{
“name”:“john doe”,
“tags”:[
{
“timestamp”:“2022-09-16T07:45:16.000000Z”,
“id”:“tag1”
},
{
“timestamp”:“2022-09-16T07:45:16.000000Z”,
“id”:“tag2”
}
]
}

The “tags” field on the mongo side is and Mongo DBRef between collections and tags collection.
Has there been a change on the rockset side on the way of sync nested Array or maybe a mongo change ?

Regards

1 Like

Hi Charles!

I have some engineers looking into this, we’ll keep you updated!

It doesn’t seem as though there’s been an obvious change on our end, has there been a change to the way you store DBRef? is it string or objectid?

Hi Grace

Sorry I made a mistake, it’s not a Mongo DBRef, we use Spring Data Mongo @DocumentReference, this saves a simple String (Spring Data MongoDB - Reference Documentation), None change on our side.

Regards