Skip to content

Commit

Permalink
Update link to macro generate_schema_name_for_env() in debugging-sche…
Browse files Browse the repository at this point in the history
…ma-names.md (#4112)

## What are you changing in this pull request and why?
<!---
Describe your changes and why you're making them. If linked to an open
issue or a pull request on dbt Core, then link to them here! 

To learn more about the writing conventions used in the dbt Labs docs,
see the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md).
-->
Broken link to macro `generate_schema_name_for_env()` in
`debugging-schema-names.md`.

## Checklist
- [X] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [X] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."
  • Loading branch information
mirnawong1 authored Sep 22, 2023
2 parents e9aa36d + b6fc745 commit 46f0373
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/docs/guides/legacy/debugging-schema-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ If your `generate_schema_name` macro looks like so:
{{ generate_schema_name_for_env(custom_schema_name, node) }}
{%- endmacro %}
```
Your project is switching out the `generate_schema_name` macro for another macro, `generate_schema_name_for_env`. Similar to the above example, this is a macro which is defined in dbt's global project, [here](https://github.com/dbt-labs/dbt-core/blob/HEAD/core/dbt/include/global_project/macros/etc/get_custom_schema.sql#L43-L56).

Your project is switching out the `generate_schema_name` macro for another macro, `generate_schema_name_for_env`. Similar to the above example, this is a macro which is defined in dbt's global project, [here](https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/include/global_project/macros/get_custom_name/get_custom_schema.sql#L47-L60).
```sql
{% macro generate_schema_name_for_env(custom_schema_name, node) -%}

Expand Down

0 comments on commit 46f0373

Please sign in to comment.