Skip to content

Commit

Permalink
Merge pull request #15 from fivetran/feature/sisu-callum-dbt20
Browse files Browse the repository at this point in the history
Feature/sisu callum dbt20
  • Loading branch information
fivetran-joemarkiewicz authored Jul 16, 2021
2 parents 6e434a8 + 8fa18e2 commit b5452ba
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![Apache License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![dbt Logo and Version](https://img.shields.io/static/v1?logo=dbt&label=dbt-version&message=0.20.x&color=orange)
# 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://fivetran.com/docs/applications/marketo#schema).
Expand All @@ -19,8 +20,18 @@ This package contains staging models, designed to work simultaneously with our [
* ID primary keys are prefixed with the name of the table. For example, the user table's ID column is renamed user_id.

## Installation Instructions
`dbt_marketo_source` currently supports `dbt 0.20.x`.

Check [dbt Hub](https://hub.getdbt.com/) for the latest installation instructions, or [read the dbt docs](https://docs.getdbt.com/docs/package-management) for more information on installing packages.

Include in your `packages.yml`

```yaml
packages:
- package: fivetran/marketo_source
version: [">=0.5.0", "<0.6.0"]
```
## Configuration
By default, this package will look for your Marketo data in the `marketo` schema of your [target database](https://docs.getdbt.com/docs/running-a-dbt-project/using-the-command-line-interface/configure-your-profile). If this is not where your Marketo data is, add the following configuration to your `dbt_project.yml` file:

Expand Down
4 changes: 2 additions & 2 deletions dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

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

vars:

Expand Down
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: '0.3.0'
version: '0.5.0'
profile: 'integration_tests'
config-version: 2

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dbt==0.19.0
dbt~=0.20.0
2 changes: 1 addition & 1 deletion packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- package: fivetran/fivetran_utils
version: [">=0.1.0", "<0.2.0"]
version: [">=0.2.0", "<0.3.0"]

0 comments on commit b5452ba

Please sign in to comment.