Skip to content

Commit

Permalink
Merge pull request #8 from fivetran/package_updates
Browse files Browse the repository at this point in the history
Package updates
  • Loading branch information
fivetran-jamie authored Mar 31, 2021
2 parents 4801002 + cac60ac commit dd3bbb7
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 6 deletions.
Binary file removed .DS_Store
Binary file not shown.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Marketo (Source)
# Marketo Source ([docs](https://fivetran-dbt-marketo.netlify.app/#!/overview))

This package models Marketo data from [Fivetran's connector](https://fivetran.com/docs/applications/marketo). It uses data in the format described by [this ERD](https://docs.google.com/presentation/d/1TauFmnr89QV1KV_Un7kJ-KJWOQt1fbp59a1xJLUdDDY/edit).
This package models Marketo data from [Fivetran's connector](https://fivetran.com/docs/applications/marketo). It uses data in the format described by [this ERD](https://fivetran.com/docs/applications/marketo#schema).

This package enriches your Fivetran data by doing the following:

Expand Down Expand Up @@ -36,16 +36,34 @@ vars:
marketo_schema: your_schema_name
```
### Changing the Build Schema
By default this package will build the Marketo staging models within a schema titled (<target_schema> + `_stg_marketo`) in your target database. If this is not where you would like your Marketo data to be written to, add the following configuration to your `dbt_project.yml` file:

```yml
# dbt_project.yml
...
models:
marketo_source:
+schema: my_new_schema_name # leave blank for just the target_schema
```

## Contributions

Additional contributions to this package are very welcome! Please create issues
or open PRs against `master`. Check out
[this post](https://discourse.getdbt.com/t/contributing-to-a-dbt-package/657)
on the best workflow for contributing to a package.

## Database Support
This package has been tested on BigQuery, Snowflake and Redshift.

## 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
Expand Down
11 changes: 9 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: 'marketo_source'
version: '0.2.0'
version: '0.3.0'
config-version: 2
require-dbt-version: [">=0.18.0", "<0.20.0"]

Expand All @@ -20,4 +20,11 @@ vars:
activity_unsubscribe_email: "{{ source('marketo','activity_unsubscribe_email') }}"
activity_send_email: "{{ source('marketo','activity_send_email') }}"
activity_delete_lead: "{{ source('marketo','activity_delete_lead') }}"
activity_merge_leads: "{{ source('marketo','activity_merge_leads') }}"
activity_merge_leads: "{{ source('marketo','activity_merge_leads') }}"

models:
marketo_source:
+materialized: table
+schema: stg_marketo
tmp:
+materialized: view
2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'marketo_source_integration_tests'
version: '1.0.0'
version: '0.3.0'
profile: 'integration_tests'
config-version: 2

Expand Down

0 comments on commit dd3bbb7

Please sign in to comment.