Releases: dbt-msft/dbt-sqlserver
v1.7.2
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #404
- Incorporate 1.7.2 changes by @cody-scott in #461
- lint by @schlich in #471
New Contributors
- @cody-scott made their first contribution in #461
Full Changelog: v1.4.3...v1.7.2
v1.7.2rc1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #404
- Incorporate 1.7.2 changes by @cody-scott in #461
New Contributors
- @cody-scott made their first contribution in #461
Full Changelog: v1.4.3...v1.7.2rc1
v1.4.3
v1.4.3
Another minor release to follow up on the 1.4 releases.
Replacing the usage of the dm_sql_referencing_entities
stored procedure with a query to sys.sql_expression_dependencies
for better compatibility with child adapters.
Full Changelog: https://github.com/dbt-msft/dbt-sqlserver/blob/master/CHANGELOG.md
v1.4.2
v1.4.2
Minor release to follow up on 1.4.1 and 1.4.0.
Adding nolock to information_schema and sys tables/views can be overridden with the dispatched information_schema_hints
macro. This is required for adapters inheriting from this one.
Full Changelog: https://github.com/dbt-msft/dbt-sqlserver/blob/master/CHANGELOG.md
v1.4.1
v1.4.1
This is a minor release following up on 1.4.0 with fixes for long outstanding issues.
Contributors to this release are @cbini, @rlshuhart, @jacobm001, @baldwicc and @sdebruyn.
Features
- Added support for a custom schema owner. You can now add
schema_authorization
(orschema_auth
) to your profile.
If you do so, dbt will create schemas with theauthorization
option suffixed by this value.
If you are authorizing dbt users or service principals on Azure SQL based on an Azure AD group,
it's recommended to set this value to the name of the group. #153 #382 - Documentation: added more information about the permissions which you'll need to grant to run dbt.
- Support for
DATETIMEOFFSET
as type to be used in dbt source freshness tests. #254 #346 - Added 2 options related to timeouts to the profile:
login_timeout
andquery_timeout
.
The default values are0
(no timeout). #162 #395
Bugfixes
- Fixed issues with databases with a case-sensitive collation
and added automated testing for it so that we won't break it again. #212 #391 - Index names are now MD5 hashed to avoid running into the maximum amount of characters in index names
with index with lots of columns with long names. #317 #386 - Fixed the batch size calculation for seeds. Seeds will run more efficiently now. #396 #179 #210 #211
- Added
nolock
to queries for all information_schema/sys tables and views.
dbt runs a lot of queries on these metadata schemas.
This can often lead to deadlock issues if you are using a high number of threads or dbt processes.
Addingnolock
to these queries avoids the deadlocks. #379 #381 - Fixed implementation of
{{ hash(...) }}
for null values. #392
Under the hood
- Fixed more concurrency issues with automated Azure integration testing.
- Removed extra
__init__.py
files. #171 #202 - Added commits to be ignored in git blame for easier blaming. #385
Full Changelog: https://github.com/dbt-msft/dbt-sqlserver/blob/master/CHANGELOG.md
v1.4.0
v1.4.0
- @Elliot2718 made their first contribution in #204
- @i-j made their first contribution in #345
Features
- Support for dbt-core 1.4
- Incremental predicates
- Add support for Python 3.11
- Replace deprecated exception functions
- Consolidate timestamp macros
Bugfixes
- Add
nolock
query hint to several metadata queries to avoid deadlocks by @Elliot2718 in #204 - Rework column metadata retrieval to avoid duplicate results and deadlocks by @sdebruyn in #368
- Model removal will now cascade and also drop related views so that views are no longer in a broken state by @sdebruyn in #366
- Fixed handling of on_schema_change for incremental models by @sdebruyn in #376
Under the hood
- Fixed lots of testing concurrency issues
- Added all available tests as of dbt 1.4.6
Full Changelog: v1.3.2...v1.4.0
PR changelog
- Bump pre-commit from 2.20.0 to 3.2.0 by @dependabot in #344
- Bump docker/build-push-action from 3.2.0 to 4.0.0 by @dependabot in #331
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #316
- Bump wheel from 0.38.4 to 0.40.0 by @dependabot in #343
- Copy for workflow schtuff by @dataders in #350
- avoid publishing docker from other branches than master by @sdebruyn in #351
- bump pre-commit by @sdebruyn in #353
- fix pre-commit for python 3.7 by @sdebruyn in #354
- use 127.0.0.1 to avoid issues with local testing by @sdebruyn in #358
- allow for more flexible local testing with azure auth by @sdebruyn in #359
- credit where due by @dataders in #355
- remove condition for azure testing by @sdebruyn in #360
- ignore owner when testing docs in azure by @sdebruyn in #365
- impl of information_schema name closer to default by @sdebruyn in #367
- Add nolock by @Elliot2718 in #204
- Fix concurrency issues and document create as by @sdebruyn in #368
- add debug tests by @sdebruyn in #363
- add concurrency test by @sdebruyn in #362
- add aliases tests by @sdebruyn in #361
- add ephemeral error handling test by @sdebruyn in #364
- mark db-wide tests as flaky by @sdebruyn in #369
- remove azure max parallel test runs by @sdebruyn in #370
- add nolock to more metadata calls to avoid deadlocks by @sdebruyn in #374
- add query comment tests by @sdebruyn in #375
- add seed tests and add cascade to drop relation by @sdebruyn in #366
- make testing faster by running multithreaded by @sdebruyn in #372
- add tests for changing relation type by @sdebruyn in #373
- [incremental models] add tests, various bugfixes and support for incremental predicates by @sdebruyn in #376
v1.3.2
v1.3.1
v1.3.0
What's Changed
- release prep for dbt 1.3.0 by @sdebruyn in #287
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #302
v1.3.0
Features
- Support for dbt-core 1.3
- Python models are currently not supported in this adapter
- The following cross-db macros are not supported in this adapter:
bool_or
,array_construct
,array_concat
,array_append
Fixes
- The macro
type_boolean
now returns the correct data type (bit
)
Chores
- Update adapter testing framework
- Update dependencies and pre-commit hooks
All commits: v1.2.0...v1.3.0
v1.3.0rc1
Changelog
v1.3.0 (pre-releases)
Features
- Support for dbt-core 1.3
- Python models are currently not supported in this adapter
- The following cross-db macros are not supported in this adapter:
bool_or
,array_construct
,array_concat
,array_append
Fixes
- The macro
type_boolean
now returns the correct data type (bit
)
Chores
- Update adapter testing framework
- Update dependencies and pre-commit hooks
Full Changelog: v1.2.0...v1.3.0rc1