I have added a datasource (MongoDB) to Dremio. Dremio is connecting to the MongoDB default database “test” which I had created two collections in it and it shows up in Dremio UI. I have added a new collection in MongoDB later, but the new collection is not showing up in the Dremio UI under my datasource(MongoDB).
Is there a configuration parameter for refreshing a datasource in Dremio?
Could please someone clarify where this “configuration parameter” is?
I have the same problem. Dremio 2.0.1/MongoDB 3.4.9.
Should I use the Refresh Policy parameters in the source settings? How can I refresh the source on demand to get the new Mongo collections shown?
You could do through the SQL console or REST or J/ODBC if this is a one time operation. If this is a regular thing you are scripting then through REST or adjust the config settings to be more aggressive.
Oh, I did not know you can run arbitrary SQLs there.
The type information was fixed after FORGET METADATA + REFRESH METADATA (just refresh had not worked).
Thanks for you help!