26 create additional metadata columns for control snap tables v0 and v1 #419
26 create additional metadata columns for control snap tables v0 and v1 #419Tobias-Pah wants to merge 17 commits intomainfrom
Conversation
… to v1 snapshot tables
|
dbt test combined result: ❌ DetailsRESULTS for Synapse: RESULTS for Postgres: RESULTS for BigQuery: RESULTS for Redshift: RESULTS for Snowflake: RESULTS for Exasol: RESULTS for Fabric: RESULTS for Oracle: RESULTS for Databricks: RESULTS for SQL Server: Link to workflow summary: https://github.com/ScalefreeCOM/datavault4dbt-ci-cd/actions/runs/22136189241 |
|
dbt test combined result: ❌ DetailsRESULTS for Synapse: RESULTS for Postgres: RESULTS for BigQuery: RESULTS for Redshift: RESULTS for Snowflake: RESULTS for Exasol: RESULTS for Fabric: RESULTS for Oracle: RESULTS for Databricks: RESULTS for SQL Server: Link to workflow summary: https://github.com/ScalefreeCOM/datavault4dbt-ci-cd/actions/runs/22135912682 |
|
dbt test combined result: ❌ DetailsRESULTS for Synapse: RESULTS for Postgres: RESULTS for BigQuery: RESULTS for Redshift: RESULTS for Snowflake: RESULTS for Exasol: RESULTS for Fabric: RESULTS for Oracle: RESULTS for Databricks: RESULTS for SQL Server: Link to workflow summary: https://github.com/ScalefreeCOM/datavault4dbt-ci-cd/actions/runs/22346601231 |
|
dbt test combined result: ❌ DetailsRESULTS for Synapse: RESULTS for Postgres: RESULTS for BigQuery: RESULTS for Redshift: RESULTS for Snowflake: RESULTS for Exasol: RESULTS for Fabric: RESULTS for Oracle: RESULTS for Databricks: RESULTS for SQL Server: Link to workflow summary: https://github.com/ScalefreeCOM/datavault4dbt-ci-cd/actions/runs/22353436853 |
|
dbt test combined result: ❌ DetailsRESULTS for Synapse: RESULTS for Postgres: RESULTS for BigQuery: RESULTS for Redshift: RESULTS for Snowflake: RESULTS for Exasol: RESULTS for Fabric: RESULTS for Oracle: RESULTS for Databricks: RESULTS for SQL Server: Link to workflow summary: https://github.com/ScalefreeCOM/datavault4dbt-ci-cd/actions/runs/22390094421 |
| {%- if first_day_of_week_var == 7 -%} | ||
| {%- set bigquery_day_of_week_arg = 'WEEK(SUNDAY)' -%} | ||
| {%- else -%} | ||
| {%- set bigquery_day_of_week_arg = 'WEEK(MONDAY)' -%} | ||
| {%- endif -%} |
Description
following additional metadata columns in all Control Snap v0 and v1 models were added
in dbt project yml file there is additional variable datavault4dbt.first_day_of_week which defaults to 1 meaning monday, but can be set to 7 for sunday
Fixes #(issue)
Type of change
How Has This Been Tested?
Ran the snapshot models and tests in automatic tests repo on databricks adapter for both datavault4dbt.first_day_of_week values 1 and 7