Skip to content

Commit

Permalink
Updated readme with install instructions and better usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cdussud committed Dec 14, 2022
1 parent 18ff2d5 commit 72fd7b0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

This dbt package contains macros for building an [activity schema](https://www.activityschema.com).

It simplifies writing models to be used directly as an activity stream table, particularly if they need to be warehouse-independent.

It follows the [v2.0](https://github.com/ActivitySchema/ActivitySchema/blob/main/2.0.md) version of the activity schema specification.

The macros can help write models for use directly as activity stream tables, particularly if they need to be warehouse-independent.

## Usage

Expand All @@ -18,9 +15,21 @@ with final as (
...
)

select * from {{ make_activity('final') }}
select * from {{ activity_schema.make_activity('final') }}
```

<br>

### Warehouse Support

Works on the following warehouses

- Bigquery
- Postgres
- Redshift
- Snowflake


<br>

## Macros
Expand Down

0 comments on commit 72fd7b0

Please sign in to comment.