Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MongoDB components donot support Dynamic schema

Hi,

 

I am using Talend RealTime Big Data Platform.

My use case is to migrate data from one mongoDB cluster to another.

The schema of the source mongoDb might change hence I need a dynamic schema to be specified, which I am unable to do so.

I have tried using a document datatype, but with no luck.

The document which is inserted in the destination is as follows:

{
    "_id" : ObjectId("591bf640b9be05de0ca17a5b"),
    "cols" : null
}

 

Is there any way in which the tMongoInput and tMongoOutput components support dynamic schema

Labels (2)
5 Replies
Anonymous
Not applicable
Author

Hi 

The MongoDB components don't support Dynamic schema now, a jira issue has been reported on our bugtracker. 

 

Regards

Shong

Anonymous
Not applicable
Author

Hi Shong,

 

Is there any workaround for it??

Is there any way in which I can capture the new keys added in the source MongoDB ,

  when migrating to the Destination mongoDB without making any changes in the job?

 

Regards,

Rutula Sulakhe.

Anonymous
Not applicable
Author

Hello, Did you resolve this problem?
Anonymous
Not applicable
Author

There is any solution for  Dynamic schema in Mongodb 

 

Anonymous
Not applicable
Author

I didn't find any, apart doing everything with Java code in a TJavaFlex.