You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/configuration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,11 +278,11 @@ Config example:
278
278
279
279
##### Show at the catalog level instead
280
280
281
-
If neither the schema (default) nor the table level are sufficient for your use case, you may indicate the environment at the catalog level instead.
281
+
If neither the schema (default) nor the table level are sufficient for your use case, you can indicate the environment at the catalog level instead.
282
282
283
283
This can be useful if you have downstream BI reporting tools and you would like to point them at a development environment to test something out without renaming all the table / schema references within the report query.
284
284
285
-
In order to achieve this, you may configure [environment_suffix_target](../reference/configuration.md#environments) like so:
285
+
In order to achieve this, you can configure [environment_suffix_target](../reference/configuration.md#environments) like so:
286
286
287
287
=== "YAML"
288
288
@@ -312,7 +312,7 @@ Given the example of a model called `my_schema.users` with a default catalog of
312
312
313
313
!!! warning "Caveats"
314
314
- Using `environment_suffix_target: catalog` only works on engines that support querying across different catalogs. If your engine does not support cross-catalog queries then you will need to use `environment_suffix_target: schema` or `environment_suffix_target: table` instead.
315
-
- Automatic catalog creation is not supported on all engines even if they support cross-catalog queries. For engines where it is not supported, the catalogs must exist prior to invoking SQLMesh.
315
+
- Automatic catalog creation is not supported on all engines even if they support cross-catalog queries. For engines where it is not supported, the catalogs must be managed externally from SQLMesh and exist prior to invoking SQLMesh.
316
316
317
317
#### Environment view catalogs
318
318
@@ -362,7 +362,7 @@ With the example configuration above, SQLMesh would evaluate environment names a
362
362
* If the environment name starts with `analytics_repo`, the catalog will be `cicd`.
363
363
364
364
!!! warning
365
-
This feature is mutually exclusive with `environment_suffix_target: catalog` in order to prevent ambiguous mappings from being defined. Attempting to specify both settings will raise an error on project load
365
+
This feature is mutually exclusive with `environment_suffix_target: catalog` in order to prevent ambiguous mappings from being defined. Attempting to specify both `environment_catalog_mapping` and `environment_suffix_target: catalog` will raise an error on project load
366
366
367
367
*Note:* This feature is only available for engines that support querying across catalogs. At the time of writing, the following engines are **NOT** supported:
0 commit comments