diff --git a/website/docs/docs/build/data-tests.md b/website/docs/docs/build/data-tests.md index 559fe468644..24c468b976d 100644 --- a/website/docs/docs/build/data-tests.md +++ b/website/docs/docs/build/data-tests.md @@ -73,7 +73,9 @@ having total_amount < 0 The name of this test is the name of the file: `assert_total_payment_amount_is_positive`. -Note, you won't need to include semicolons (;) at the end of the SQL statement in your singular test files as it can cause your test to fail. +Note: +- Omit semicolons (;) at the end of the SQL statement in your singular test files, as they can cause your test to fail. +- Singular tests placed in the tests directory are automatically executed when running `dbt test`. Don't reference singular tests in `model_name.yml`, as they are not treated as generic tests or macros, and doing so will result in an error. To add a description to a singular test in your project, add a `.yml` file to your `tests` directory, for example, `tests/schema.yml` with the following content: diff --git a/website/docs/reference/resource-configs/snowflake-configs.md b/website/docs/reference/resource-configs/snowflake-configs.md index 9d84e892236..30275450793 100644 --- a/website/docs/reference/resource-configs/snowflake-configs.md +++ b/website/docs/reference/resource-configs/snowflake-configs.md @@ -337,6 +337,15 @@ For dbt limitations, these dbt features are not supported: - [Model contracts](/docs/collaborate/govern/model-contracts) - [Copy grants configuration](/reference/resource-configs/snowflake-configs#copying-grants) +### Troubleshooting dynamic tables + +If your dynamic table model fails to rerun with the following error message after the initial execution: + +```sql +SnowflakeDynamicTableConfig.__init__() missing 6 required positional arguments: 'name', 'schema_name', 'database_name', 'query', 'target_lag', and 'snowflake_warehouse' +``` +Ensure that `QUOTED_IDENTIFIERS_IGNORE_CASE` on your account is set to `FALSE`. + ## Temporary tables Incremental table merges for Snowflake prefer to utilize a `view` rather than a `temporary table`. The reasoning is to avoid the database write step that a temporary table would initiate and save compile time.