Skip to content

Commit

Permalink
Merge pull request #45 from dbt-msft/alieus-hotfix-setup.py
Browse files Browse the repository at this point in the history
HOTFIX setup.py doesn't include materializations folder
  • Loading branch information
dataders authored Mar 19, 2021
2 parents 96d5454 + 96a0a29 commit 269706b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## v.0.19.0.1

### Fixes

- Resolves bug where snapshot and seeds materializations weren't working correctly [#45](https://github.com/dbt-msft/dbt-synapse/pull/45) thanks [@alieus]

### Under the hood

- `dbt-synapse` will allow all patches to `dbt-sqlserver` version 0.19
- Per issue with `pyICU` package ([fishtown-analytics/dbt/#3161](https://github.com/fishtown-analytics/dbt/pull/3161)), temporarily pin agate to between `1.6.0` and `1.6.2`, inclusive, until `dbt` `0.19.1` is released.
## v.0.19.0

### BREAKING CHANGES
Expand All @@ -11,7 +21,7 @@
- dbt v0.19.0 ([release notes](https://github.com/fishtown-analytics/dbt/releases/tag/v0.19.0)) and
- dbt-sqlserver v0.19.0.1 & v0.19.0 ([release](https://github.com/dbt-msft/dbt-sqlserver/releases/tag/v0.19.0.1) [notes](https://github.com/dbt-msft/dbt-sqlserver/releases/tag/v0.19.0))

## Under the hood
### Under the hood
- the snapshot materialization, except for the [`MERGE` workaround](dbt/include/synapse/macros/materializations/snapshot/snapshot_merge.sql), now depends entirely on dbt-core's global project. Made possible due to tempdb.INFO_SCHEMA workaround [#42](https://github.com/dbt-msft/dbt-synapse/pull/42)
- make the adapter inheirit from `dbt-sqlserver` [#32](https://github.com/dbt-msft/dbt-synapse/pull/32) [#33](https://github.com/dbt-msft/dbt-synapse/pull/33) thanks [@jtcohen6](https://github.com/jtcohen6) [@chaerinlee1](https://github.com/chaerinlee1)
- the snapshot materialization, now depends entirely on dbt-core's global project. See dbt-sqlserver release notes for more info [#44](https://github.com/dbt-msft/dbt-synapse/pull/44)
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recursive-include dbt/include *.sql *.yml *.md
2 changes: 1 addition & 1 deletion dbt/adapters/synapse/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '0.19.0'
version = '0.19.0.1'
13 changes: 4 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


package_name = "dbt-synapse"
authors_list = ["Nandan Hegde", "Anders Swanson"]
authors_list = ["Nandan Hegde", "Chaerin Lee", "Alieu Sanneh", "Anders Swanson"]


# get this from a separate file
Expand Down Expand Up @@ -49,14 +49,9 @@ def _dbt_synapse_version():
author_email="swanson.anders@gmail.com",
url="https://github.com/dbt-msft/dbt-synapse",
packages=find_packages(),
package_data={
"dbt": [
"include/synapse/dbt_project.yml",
"include/synapse/macros/*.sql",
"include/synapse/macros/**/*.sql",
]
},
include_package_data=True,
install_requires=[
"dbt-sqlserver==0.19.0.1",
"dbt-sqlserver~=0.19.0",
"agate>=1.6,<1.6.2"
]
)

0 comments on commit 269706b

Please sign in to comment.