Follow-up to #8491
If a table is created that connects a external sheet and a user-facing view is created at the same time that references the table, then stage deploys is creating a query.py because the view depends on the external table which is causing the deploy to fail
┆Issue is synchronized with this Jira Task