-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from fivetran/docs-update
Docs update
- Loading branch information
Showing
13 changed files
with
184 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Pardot Source ([docs](https://fivetran-dbt-pardot.netlify.app/#!/overview)) | ||
# Pardot (Source) | ||
|
||
This package models Pardot data from [Fivetran's connector](https://fivetran.com/docs/applications/pardot). It uses data in the format described by [the Pardot ERD](https://fivetran.com/docs/applications/pardot#schemainformation). | ||
|
||
|
@@ -52,6 +52,21 @@ vars: | |
prospect_passthrough_columns: ["custom_creative","custom_contact_state"] | ||
``` | ||
|
||
### Changing the Build Schema | ||
By default this package will build the Pardot staging models within a schema titled (<target_schema> + `_stg_pardot`). If this is not where you would like your Pardot staging models to be written to, add the following configuration to your `dbt_project.yml` file: | ||
|
||
```yml | ||
# dbt_project.yml | ||
|
||
... | ||
models: | ||
pardot_source: | ||
+schema: my_new_staging_models_schema # leave blank for just the target_schema | ||
``` | ||
|
||
## Database Support | ||
This package has been tested on BigQuery, Snowflake, Redshift, and Postgres. | ||
|
||
## Contributions | ||
|
||
Additional contributions to this package are very welcome! Please create issues | ||
|
@@ -60,8 +75,11 @@ or open PRs against `master`. Check out | |
on the best workflow for contributing to a package. | ||
|
||
## Resources: | ||
- Provide [feedback](https://www.surveymonkey.com/r/DQ7K7WW) on our existing dbt packages or what you'd like to see next | ||
- Have questions, feedback, or need help? Book a time during our office hours [using Calendly](https://calendly.com/fivetran-solutions-team/fivetran-solutions-team-office-hours) or email us at [email protected] | ||
- Find all of Fivetran's pre-built dbt packages in our [dbt hub](https://hub.getdbt.com/fivetran/) | ||
- Learn more about Fivetran [in the Fivetran docs](https://fivetran.com/docs) | ||
- Learn how to orchestrate [dbt transformations with Fivetran](https://fivetran.com/docs/transformations/dbt) | ||
- Learn more about Fivetran overall [in our docs](https://fivetran.com/docs) | ||
- Check out [Fivetran's blog](https://fivetran.com/blog) | ||
- Learn more about dbt [in the dbt docs](https://docs.getdbt.com/docs/introduction) | ||
- Check out [Discourse](https://discourse.getdbt.com/) for commonly asked questions and answers | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
name: 'pardot_source' | ||
version: '0.2.0' | ||
config-version: 2 | ||
require-dbt-version: [">=0.18.0", "<0.19.0"] | ||
require-dbt-version: [">=0.18.0", "<0.20.0"] | ||
|
||
models: | ||
pardot_source: | ||
+schema: stg_pardot | ||
vars: | ||
pardot_source: | ||
list: "{{ source('pardot','list') }}" | ||
list_membership: "{{ source('pardot','list_membership') }}" | ||
visitor: "{{ source('pardot','visitor') }}" | ||
visitor_activity: "{{ source('pardot','visitor_activity') }}" | ||
prospect: "{{ source('pardot','prospect') }}" | ||
campaign: "{{ source('pardot','campaign') }}" | ||
opportunity: "{{ source('pardot','opportunity') }}" | ||
list: "{{ source('pardot','list') }}" | ||
list_membership: "{{ source('pardot','list_membership') }}" | ||
visitor: "{{ source('pardot','visitor') }}" | ||
visitor_activity: "{{ source('pardot','visitor_activity') }}" | ||
prospect: "{{ source('pardot','prospect') }}" | ||
campaign: "{{ source('pardot','campaign') }}" | ||
opportunity: "{{ source('pardot','opportunity') }}" | ||
opportunity_prospect: "{{ source('pardot','opportunity_prospect') }}" | ||
prospect_passthrough_columns: [] |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
name: 'pardot_source_integration_tests' | ||
version: '1.0.0' | ||
version: '0.2.0' | ||
profile: 'integration_tests' | ||
config-version: 2 | ||
|
||
vars: | ||
pardot_source: | ||
list: "{{ ref('pardot_list_data') }}" | ||
list_membership: "{{ ref('pardot_list_membership_data') }}" | ||
visitor: "{{ ref('pardot_visitor_data') }}" | ||
visitor_activity: "{{ ref('pardot_visitor_activity_data') }}" | ||
prospect: "{{ ref('pardot_prospect_data') }}" | ||
campaign: "{{ ref('pardot_campaign_data') }}" | ||
opportunity: "{{ ref('pardot_opportunity_data') }}" | ||
opportunity_prospect: "{{ ref('pardot_opportunity_prospect_data') }}" | ||
list: "{{ ref('pardot_list_data') }}" | ||
list_membership: "{{ ref('pardot_list_membership_data') }}" | ||
visitor: "{{ ref('pardot_visitor_data') }}" | ||
visitor_activity: "{{ ref('pardot_visitor_activity_data') }}" | ||
prospect: "{{ ref('pardot_prospect_data') }}" | ||
campaign: "{{ ref('pardot_campaign_data') }}" | ||
opportunity: "{{ ref('pardot_opportunity_data') }}" | ||
opportunity_prospect: "{{ ref('pardot_opportunity_prospect_data') }}" | ||
|
||
seeds: | ||
+quote_columns: "{{ true if target.type == 'redshift' else false }}" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
dbt==0.18.0 | ||
dbt==0.19.0 |
This file contains 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
This file contains 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
This file contains 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