I'd like to request the documentation be updated to add a note that the information_schema.view_table_usage view won't include views that query materialized views.
Hi Erik - sorry I missed your reply when I replied to David's. That is indeed the issue. The object that the view is querying is a materialized view.
Thanks for the link.
Jon
On Fri, Dec 2, 2022 at 3:33 PM Erik Wienhold <ewie@ewie.name> wrote:
> On 02/12/2022 21:51 CET Jonathan Lemig <jtlemig@gmail.com> wrote: > > Has anybody ever encountered this, and if so, did you find a resolution? > Or perhaps there other limitations with the VTU that I'm unaware of?
Is the one view you cannot find in view_table_usage a materialized view? Because those are not covered by view_table_usage[1].