Skip to content

Commit 70993f1

Browse files
committed
typos
1 parent aa6405c commit 70993f1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/guides/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,11 @@ Config example:
278278

279279
##### Show at the catalog level instead
280280

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.
282282

283283
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.
284284

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:
286286

287287
=== "YAML"
288288

@@ -312,7 +312,7 @@ Given the example of a model called `my_schema.users` with a default catalog of
312312

313313
!!! warning "Caveats"
314314
- 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.
316316

317317
#### Environment view catalogs
318318

@@ -362,7 +362,7 @@ With the example configuration above, SQLMesh would evaluate environment names a
362362
* If the environment name starts with `analytics_repo`, the catalog will be `cicd`.
363363

364364
!!! 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
366366

367367
*Note:* This feature is only available for engines that support querying across catalogs. At the time of writing, the following engines are **NOT** supported:
368368

sqlmesh/core/config/root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _normalize_identifiers(key: str) -> None:
248248
):
249249
raise ConfigError(
250250
f"'environment_suffix_target: catalog' is mutually exclusive with 'environment_catalog_mapping'.\n"
251-
"Please specify one or thr other"
251+
"Please specify one or the other"
252252
)
253253

254254
if self.environment_catalog_mapping:

0 commit comments

Comments
 (0)