Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
ktelmat10
Contributor
Contributor

tMongoDBInput component error

Hello everyone,

 

I have a problem when reading data from a MongoDB collection with the talend tMongoDBInput component. I have the following error:

 

mongoDb Exception in component tMongoDBInput: java.util.regex.PatternSyntaxException: Unclosed character class near index 64

 

I think while creating indexes on the mongoDB collection I'm trying to read they used square brackets which I component talend misinterpret.

 

Have you ever encountered this case and do you have any solutions for me?

 

thanks in advance.

 

Labels (4)
1 Reply
Anonymous
Not applicable

Hello,

Could you please post your current job design screenshots here? What does your data look like?

Are you trying to read Array Data from Mongo Collection?

If so in the schema settings of tMongoDbInput, you can setup type to "List" for the array field , then use tExtractJSONFields component to extract the child elements of the array field.

 

Best regards

Sabrina