Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend job - Issue in tMongoDBInput

Hi All,
I've created a flow to read from mongoDB to load into Mysql. Attached is my mongoDB input configuration,
Job is running fine and data is loaded into Mysql. But the below error message is generated eventhough the job completes successfully.
"tMongoDBInput_1 - The query does not contain any reference an index.  "
Please advice why this error message is generated.
Is this because the Query field in Mongodbinput in empty? If so, what I've to specify to select all records from mongoDB.
Thanks,
Satheesh
0683p000009MBub.png
Labels (2)
4 Replies
Anonymous
Not applicable
Author

Hi,
This situation is normal. If the query that contains reference an index, will be faster.
The error message indicates that an index should be set. Please try this query:db.collection_name.find();
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks Xdshi!
But when i use this query, talend mapping throws parse error. So i left the mapping with initial status, as it is not harming as process.
Thanks and Regards,
Satheesh B
_AnonymousUser
Specialist III
Specialist III

Hi,
I have exactly the same problem.
I just want to select all records from my collection in a tMongoDbInput.
But I have the error :  "tMongoDBInput_1 - The query does not contain any reference an index.  "
I also have an error with :  db.collection_name.find(); in the query
Anonymous
Not applicable
Author

Hello 
has there been any additional findings on this issue?