Skip to content

Commit

Permalink
[Request] Update grammar in custom-schemas.md βš“οΈπŸ΄β€β˜ οΈπŸ˜„ (#3923)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

**ChatGPT wrote this description** πŸ˜‚:

Ahoy! I've swapped 'overriding' with 'override' in this pull request. No
more linguistic confusion on these code seas! Smooth sailing ahead,
matey! βš“οΈπŸ΄β€β˜ οΈπŸ˜„

## Checklist
<!--
Uncomment if you're publishing docs for a prerelease version of dbt
(delete if not applicable):
- [ ] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)
- [ ] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions)
-->
- [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.
- [ ] 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 Aug 15, 2023
2 parents 588ae78 + 4dded1d commit 5459302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/custom-schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ To modify how dbt generates schema names, you should add a macro named `generate

If you're modifying how dbt generates schema names, don't just replace ```{{ default_schema }}_{{ custom_schema_name | trim }}``` with ```{{ custom_schema_name | trim }}``` in the ```generate_schema_name``` macro.

Removing ```{{ default_schema }}``` causes developers to overriding each other's models when custom schemas are defined. This can also cause issues during development and continuous integration (CI).
If you remove ```{{ default_schema }}```, it causes developers to override each other's models if they create their own custom schemas. This can also cause issues during development and continuous integration (CI).

❌ The following code block is an example of what your code _should not_ look like:
```sql
Expand Down

0 comments on commit 5459302

Please sign in to comment.