1
0
mirror of synced 2025-12-23 21:03:15 -05:00

Add section how run custom dbt run (#4347)

* add section how run custom dbt run

* correct comments from @andresbravog

* add issue to improve the custom parsing

* eof
This commit is contained in:
Marcos Marx
2021-06-29 13:30:49 -03:00
committed by GitHub
parent bb189cf896
commit a8513af3a2

View File

@@ -53,6 +53,9 @@ In Airbyte, I can use the git url as: `https://airbyteuser:ghp_***********ShLrG2
![](../../.gitbook/assets/setup-custom-transformation.png)
## How-to use custom dbt tips
### Refresh models partially
Since I am using a mono-repo from my organization, other team members or departments may also contribute their dbt models to this centralized location. This will give us many dbt models and sources to build our complete data warehouse...
@@ -64,3 +67,13 @@ Therefore, I can restrict the execution of models to a particular tag or folder
run --models tag:covid_api opendata.base.*
Now, when replications syncs are triggered by Airbyte, my custom transformations from my private git repository are also run at the end!
### Using a custom run with variables
If you want to use a custom run and pass variables you need to use the follow syntax:
```bash
run --vars '{table_name":"sample","schema_name":"other_value"}'
```
This string must have no space.
There is a [Github issue](https://github.com/airbytehq/airbyte/issues/4348) to improve this.
If you want to contribute to Airbyte, this is a good opportunity!