Jolt transform question

2018-11-23 Thread Yves HAMEL
54321","comment":"def"}, }} How can I write jolt transformation to get the following json {"contact":{ "pro":{value:"123456","comment":"abc"}, "perso":{value:"654

Problem with PutMongoRecord.

2019-05-16 Thread Yves HAMEL
" }, { "name" : "date", "type" : [ "null", "string" ], "doc" : "Type inferred from '\"01/01/2019\"'", "default" : null } ] } When the documents inserted in the mongodb database

PutMongo processor : specifying nested field and multiple field on Update Query Key properties

2018-03-09 Thread Yves HAMEL
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

PutMongoRecord issue

2018-05-22 Thread Yves HAMEL
"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 (

Issue when inserting array with PutMongoRecord processor

2018-06-07 Thread Yves HAMEL
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

Issue with PutMongoProcessor using upsert mode.

2018-07-09 Thread Yves HAMEL
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

Re: Issue with PutMongoProcessor using upsert mode.

2018-07-11 Thread Yves HAMEL
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