You can translate the question and the replies:

Introspection query does not work in MongoDB

Hi All, We have Denodo 8 on Windows Server. We installed mongodb-customwrapper according to document. ( No problem connecting or uploading data from MongoDB. But Introspection query not working. 1- I'm submitting the query in another tool ![](http://) 2- I fill fields in denodo ![]( 3- But the query didn't work. Uploaded all data ![]( I also tried just by filling in the introspection query section. Result is the same What is the problem ?
13-12-2021 09:15:01 -0500

1 Answer

Hi, The **"introspection query"** option in the MongoDB Custom Wrapper, is used for introspecting the data source (i.e. inferring the fields of the base view). It will only be executed during the base view creation process to determine which are the fields in the MongoDB side that should be converted to columns in the base view. Once the base view is defined, the introspection query is not part of the execution process anymore. So any filters established there will not be applied to every execution of the base view. Hence, the behavior you are experiencing is the expected one. However, if you want to retrieve specific data from the MongoDB server, you could create a [selection view]( on top of the base view created and apply the required filter condition using the where clause. For more information about the MongoDB Custom Wrapper, you could refer to the [Denodo MongoDB Custom Wrapper]( User Manual. Hope this helps!!
Denodo Team
16-12-2021 08:35:32 -0500
You must sign in to add an answer. If you do not have an account, you can register here