Skip to content

Commit

Permalink
Small tidy to docs (#363)
Browse files Browse the repository at this point in the history
* Note dbt version requirement in changelog

* Reorg folders based on contents doc
  • Loading branch information
Claire Carroll authored May 13, 2021
1 parent 603e867 commit 3a4da56
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# dbt-utils v0.7.0 (unreleased)
# dbt-utils v0.7.0

## :rotating_light: Breaking changes

### dbt v0.19.0
This package now includes some functionality that requires dbt v0.19.0 or greater. You'll need to make sure your project is using 0.19.0 before upgrading your dbt-utils version.

### get_column_values
The order of (optional) arguments has changed in the `get_column_values` macro:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ group by 1
---
### SQL generators
These macros generate SQL (either a complete query, or a part of a query). They often implement patterns that should be easy in SQL, but for some reason are much harder than they need to be.
#### date_spine ([source](macros/datetime/date_spine.sql))
#### date_spine ([source](macros/sql/date_spine.sql))
This macro returns the sql required to build a table of all days / months / years (often referred to as a "date spine" table). The spine will include the `start_date` (if it is aligned to the `datepart`), but it will not include the `end_date`.

**Usage:**
Expand All @@ -709,7 +709,7 @@ This would return a table like so:
| 2021-12-31 |


#### haversine_distance ([source](macros/geo/haversine_distance.sql))
#### haversine_distance ([source](macros/sql/haversine_distance.sql))
This macro calculates the [haversine distance](http://daynebatten.com/2015/09/latitude-longitude-distance-sql/) between a pair of x/y coordinates.

**Usage:**
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3a4da56

Please sign in to comment.