PostgreSQL does not support cross-database queries
PostgreSQL does not support cross-database queries
Trino/Starburst Galaxy 'Number of stages in the query exceeds allowed maximum'
Trino/Starburst Galaxy 'Number of stages in the query exceeds allowed maximum'
query_max_stage_count to 200. You can override this default with the sql_preamble parameter.Add the following to the model’s settings file:BigQuery view is missing columns added to the underlying table
BigQuery view is missing columns added to the underlying table
SELECT *, running a query re-runs the view’s SQL, so the query returns columns added to the table later. But the view’s metadata in INFORMATION_SCHEMA.COLUMNS, which Omni reads during a schema refresh, doesn’t change until the view’s SQL definition is changed or the view is recreated. As a result, a schema refresh doesn’t add the new column to the view in Omni.For more information, refer to Create logical views in the BigQuery documentation.To resolve this issue:Recreate the view in BigQuery
CREATE OR REPLACE VIEW with the view’s existing SQL. For example:Refresh the schema in Omni
BigQuery date-sharded tables are modeled as one view or are missing
BigQuery date-sharded tables are modeled as one view or are missing
events_20240101 and events_20240102:- Omni models them as one
_allview. After a schema refresh, Omni generates one view with a wildcardtable_name. For example,events_allbecomesevents_*. This cannot be disabled. - They’re missing from Omni. Another table or view in the dataset starts with the same prefix but doesn’t end in eight digits, such as
events_summaryorevents_backfill. Becauseevents_*would also read that table or view, Omni doesn’t generate the_allview or show the tables. Rename the other table or view, or move it to a different dataset, then refresh the schema.
_all view:- Filter on Table Date to read fewer tables. Table Date (
table_suffix_date) is the date in each row’s table name. When you filter on this field, BigQuery reads only the matching tables. When you filter on other date fields, it reads every table. - Table Date is empty for tables that aren’t dated. Tables such as
account_10000001are also combined, into a view such asaccount_all. - For GA4, check for double counting.
events_*also matchesevents_intraday_YYYYMMDD, soevents_allcounts a day twice until GA4 deletes that day’s intraday table. To get exact counts, refer to Count GA4 events exactly, including today.
Schemas missing from model
Schemas missing from model
Edit the schema in the model IDE
Verify the connection's schema settings
- Open the connection’s settings page
- Verify that the schema is present
- Verify that the syntax is correct
ignored_schemas parameter.Manually query views
Check if the view has been 'ignored'
ignored.- In the model IDE, toggle the view mode to Model. The dropdown may default to Combined, so be sure to update it if needed.
- Navigate to the file for the view and check for an
ignored: trueparameter. - Remove the parameter and promote the changes to the shared model.

