Trino Generation of the Table Definition when connecting to Mongo DB #25549
Unanswered
NicolasSaikali
asked this question in
Q&A
Replies: 1 comment
-
So after going through trino code, I think this is the reason behind the delay |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have thought about ways to refresh the table definition collection "_schema" and came up with the following idea:
When I need to introduce/edit/remove a field, I migrate my documents, then drop the "_schema" collection. So the next time I execute a query, trino will regenerate it, but I've notived that sometimes there is a delay of around 30 seconds for trino to regenerate it, in the mean time it will return the previous schema.
Why is this happening?
Is this caching? Can I do some configuration to change that?
Beta Was this translation helpful? Give feedback.
All reactions