Skip to content

Commit

Permalink
Comment out dbt-coves config file pointing to /config/workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini committed Jul 1, 2024
1 parent 03f40f4 commit b8f8641
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
generate:
sources:
database: RAW # Database where to look for source tables
sources_destination: "models/L1_staging/{{schema}}/_{{schema}}.yml" # Where sources yml files will be generated
models_destination: "models/L1_staging/{{schema}}/{{relation}}.sql" # Where models sql files will be generated
model_props_destination: "models/L1_staging/{{schema}}/{{relation}}.yml" # Where models yml files will be generated
database: RAW # Database where to look for source tables
sources_destination: "models/L1_staging/{{schema}}/_{{schema}}.yml" # Where sources yml files will be generated
models_destination: "models/L1_staging/{{schema}}/{{relation}}.sql" # Where models sql files will be generated
model_props_destination: "models/L1_staging/{{schema}}/{{relation}}.yml" # Where models yml files will be generated
update_strategy: update # Action to perform when a property file exists. Options: update, recreate, fail, ask
templates_folder: ".dbt_coves/templates" # Folder where source generation jinja templates are located.
templates_folder: ".dbt_coves/templates" # Folder where source generation jinja templates are located.
flatten_json_fields: "no" # Action to perform when VARIANT / JSON field is encountered

properties:
destination: "{{model_folder_path}}/{{model_file_name}}.yml" # Where models yml files will be generated
destination: "{{model_folder_path}}/{{model_file_name}}.yml" # Where models yml files will be generated
# You can specify a different path by declaring it explicitly, i.e.: "models/staging/{{model_file_name}}.yml"
update_strategy: ask # Action to perform when a property file already exists. Options: update, recreate, fail, ask
models: "models/" # Model(s) path where 'generate properties' will look for models for generation
update_strategy: ask # Action to perform when a property file already exists. Options: update, recreate, fail, ask
models: "models/" # Model(s) path where 'generate properties' will look for models for generation

metadata:
database: RAW
# destination: "metadata.csv"

airflow_dags:

yml_path: "/config/workspace/{{ env_var('DATACOVES__AIRFLOW_DAGS_YML_PATH') }}"
dags_path: "/config/workspace/{{ env_var('DATACOVES__AIRFLOW_DAGS_PATH') }}"
# yml_path: "/config/workspace/{{ env_var('DATACOVES__AIRFLOW_DAGS_YML_PATH') }}"
# dags_path: "/config/workspace/{{ env_var('DATACOVES__AIRFLOW_DAGS_PATH') }}"

generators_params:
AirbyteDbtGenerator:

host: "{{ env_var('DATACOVES__AIRBYTE_HOST_NAME') }}"
port: "{{ env_var('DATACOVES__AIRBYTE_PORT') }}"
airbyte_conn_id: airbyte_connection
Expand Down

0 comments on commit b8f8641

Please sign in to comment.