54321","comment":"def"},
}}
How can I write jolt transformation to get the following json
{"contact":{
"pro":{value:"123456","comment":"abc"},
"perso":{value:"654
"
}, {
"name" : "date",
"type" : [ "null", "string" ],
"doc" : "Type inferred from '\"01/01/2019\"'",
"default" : null
} ]
}
When the documents inserted in the mongodb database
e available with the native mongodb
db.collection.updateOne() method.
Il would like to know if this feture will be implemented in PutMongo
processor ?
How can I request the community to implement this feature ?
If necessary I could propose the code to the community.
Thanks
Best regards
(Embedded image
"items":"string"
}
}
]
}
What is the schema syntax for array type ?
Why is the schema validation mandatory ? Can I set PutMongoRecord processor
without that validation ?
Thanks,
Yves
(
y",
"items" : "string"
},
"doc" : "Type inferred from '[\"aa\",\"bb\"]'"
} ]
}
I did a little debug and I think I get this exeception because
PuMongoRecord maps json array to java array. But the mongodb java dri
es the document without the key.
The document is created but there is missing part of the document.
When using update_query mode, it does remove anything form the document.
I simply remove the removeUpdateKeys() method call in a test custum
processor. And it works fine.
Is that path correct ?
Th
so the
processor have to
build the query parameter : {"key":"a","keys.k1":"b"} and remove the keys
from de document.
- WithWholeDocument : the json doc is
{"key":"a","keys