Skip to content

Commit

Permalink
Update schema in test example
Browse files Browse the repository at this point in the history
Update the schema in the alias example for tests to use the default schema value from store_failures_as. Add config closing brackets
  • Loading branch information
emmahunt authored Dec 20, 2024
1 parent 00d953c commit 16d509e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/docs/reference/resource-configs/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,12 @@ In `tests/unique_order_id_test.sql` file:
```sql
{{ config(
alias="unique_order_id_test",
severity="error",
severity="error"
) }}
```
</File>

When using [`store_failures_as`](/reference/resource-configs/store_failures_as), this would return the name `analytics.finance.orders_order_id_unique_order_id_test` in the database.
When using [`store_failures_as`](/reference/resource-configs/store_failures_as), this would return the name `analytics.dbt_test__audit.orders_order_id_unique_order_id_test` in the database.


</TabItem>
Expand Down

0 comments on commit 16d509e

Please sign in to comment.