Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final tidy #363

Merged
merged 2 commits into from
May 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:**
@@ -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:**
File renamed without changes.
File renamed without changes.