This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbt --quiet run-operation generate_model_yaml --args '{"model_names": ["stg_jaffle_shop__customers", "stg_jaffle_shop__orders"], "upstream_descriptions", "true"}' > models/staging/jaffle_shop/_jaffle_shop__models.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbt run-operation codegen.create_base_models --args '{source_name: jaffle_shop, tables: ["orders","customers"]}' | |
Run these commands in your shell to generate the models: | |
source dbt_packages/codegen/bash_scripts/base_model_creation.sh jaffle_shop orders && | |
source dbt_packages/codegen/bash_scripts/base_model_creation.sh jaffle_shop customers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbt --quiet run-operation generate_source --args '{"schema_name": "jaffle_shop", "database_name": "raw", "table_names": ["orders","customers"], "generate_columns": "true", "include_descriptions": "true"}' > models/staging/jaffle_shop/_jaffle_shop__sources.yml |