Skip to content

Commit

Permalink
Update example in databricks-configs.md
Browse files Browse the repository at this point in the history
As description cannot be placed in SQL
  • Loading branch information
benc-db authored May 16, 2024
1 parent d068bd5 commit 4d91b77
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ The following table summarizes our configuration support:
| Databricks Concept | Config Name | MV/ST support |
| ------------------ | ------------| ------------- |
| [PARTITIONED BY](https://docs.databricks.com/en/sql/language-manual/sql-ref-partition.html#partitioned-by) | `partition_by` | MV/ST |
| COMMENT | `description` | MV/ST |
| COMMENT | [`description`](https://docs.getdbt.com/reference/resource-properties/description) | MV/ST |
| [TBLPROPERTIES](https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-tblproperties.html#tblproperties) | `tblproperties` | MV/ST |
| [SCHEDULE CRON](https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-materialized-view.html#parameters) | `schedule: { 'cron': '\<cron schedule\>', 'time_zone_value': '\<time zone value\>' }` | MV/ST |
| query | defined by your model sql | on_configuration_change for MV only |
Expand All @@ -715,7 +715,6 @@ The following table summarizes our configuration support:

{{ config(
materialized='materialized_view',
description='this is a materialized view',
partition_by='id',
schedule = {
'cron': '0 0 * * * ? *',
Expand Down

0 comments on commit 4d91b77

Please sign in to comment.