Skip to content

Commit c32b280

Browse files
committed
Fix Spelling
1 parent d39afe5 commit c32b280

7 files changed

Lines changed: 12 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Replacing the usage of the `dm_sql_referencing_entities` stored procedure with a
123123

124124
Minor release to follow up on 1.4.1 and 1.4.0.
125125

126-
Adding `nolock` to information_schema and sys tables/views can be overriden with the dispatched `information_schema_hints` macro. This is required for adapters inheriting from this one.
126+
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.
127127

128128
### v1.4.1
129129

@@ -391,11 +391,11 @@ Please see [dbt-core v0.21.0 release notes](https://github.com/dbt-labs/dbt-core
391391

392392
#### features:
393393

394-
- users can now delcare a model's database to be other than the one specified in the profile. This will only work for on-premise SQL Server and Azure SQL Managed Instance. [#126](https://github.com/dbt-msft/dbt-sqlserver/issues/126) thanks [@semcha](https://github.com/semcha)!
394+
- users can now declare a model's database to be other than the one specified in the profile. This will only work for on-premise SQL Server and Azure SQL Managed Instance. [#126](https://github.com/dbt-msft/dbt-sqlserver/issues/126) thanks [@semcha](https://github.com/semcha)!
395395

396396
#### under the hood
397397

398-
- abandon four-part version names (`v0.19.0.2`) in favor of three-part version names because it isn't [SemVer](https://semver.org/) and it causes problems with the `~=` pip operator used dbt-synapse, a pacakge that depends on dbt-sqlserver
398+
- abandon four-part version names (`v0.19.0.2`) in favor of three-part version names because it isn't [SemVer](https://semver.org/) and it causes problems with the `~=` pip operator used dbt-synapse, a package that depends on dbt-sqlserver
399399
- allow CI to work with the lower-cost serverless Azure SQL [#132](https://github.com/dbt-msft/dbt-sqlserver/pull/132)
400400

401401
### v0.19.0.2
@@ -496,7 +496,7 @@ Adds support for:
496496

497497
#### Fixes:
498498

499-
- Fixes an issue with clustered columnstore index not beeing created.
499+
- Fixes an issue with clustered columnstore index not being created.
500500

501501
### v0.15.1
502502

@@ -506,7 +506,7 @@ Adds support for:
506506

507507
#### Fixes:
508508

509-
- Previously when a model run was interupted unfinished models prevented the next run and you had to manually delete them. This is now fixed so that unfinished models will be deleted on next run.
509+
- Previously when a model run was interrupted unfinished models prevented the next run and you had to manually delete them. This is now fixed so that unfinished models will be deleted on next run.
510510

511511
### v0.15.0.1
512512

dbt/adapters/sqlserver/sqlserver_adapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
class SQLServerAdapter(SQLAdapter):
2828
"""
29-
Controls actual implmentation of adapter, and ability to override certain methods.
29+
Controls actual implementation of adapter, and ability to override certain methods.
3030
"""
3131

3232
ConnectionManager = SQLServerConnectionManager
@@ -193,7 +193,7 @@ def get_rows_different_sql(
193193
except_operator: str = "EXCEPT",
194194
) -> str:
195195
"""
196-
note: using is not supported on Synapse so COLUMNS_EQUAL_SQL is adjsuted
196+
note: using is not supported on Synapse so COLUMNS_EQUAL_SQL is adjusted
197197
Generate SQL for a query that returns a single row with a two
198198
columns: the number of rows that are different between the two
199199
relations and the number of mismatched rows.

dbt/include/sqlserver/macros/materializations/models/incremental/incremental.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-- BEGIN, in a separate transaction
2020
{%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation)-%}
2121
{%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}
22-
-- grab current tables grants config for comparision later on
22+
-- grab current tables grants config for comparison later on
2323
{% set grant_config = config.get('grants') %}
2424
{{ drop_relation_if_exists(preexisting_intermediate_relation) }}
2525
{{ drop_relation_if_exists(preexisting_backup_relation) }}

dbt/include/sqlserver/macros/materializations/models/table/table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}
1515
-- as above, the backup_relation should not already exist
1616
{%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}
17-
-- grab current tables grants config for comparision later on
17+
-- grab current tables grants config for comparison later on
1818
{% set grant_config = config.get('grants') %}
1919

2020
{%- set table_refresh_method = config.get('table_refresh_method', 'rename') -%}

dbt/include/sqlserver/macros/materializations/models/view/view.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}
2525
-- as above, the backup_relation should not already exist
2626
{%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}
27-
-- grab current tables grants config for comparision later on
27+
-- grab current tables grants config for comparison later on
2828
{% set grant_config = config.get('grants') %}
2929
{% set preserved_grants = {} %}
3030
{% set should_skip_view_update = false %}

dbt/include/sqlserver/macros/materializations/snapshots/snapshot.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{%- set target_table = model.get('alias', model.get('name')) -%}
55
{%- set strategy_name = config.get('strategy') -%}
66
{%- set unique_key = config.get('unique_key') %}
7-
-- grab current tables grants config for comparision later on
7+
-- grab current tables grants config for comparison later on
88
{%- set grant_config = config.get('grants') -%}
99

1010
{% set target_relation_exists, target_relation = get_or_create_relation(

dbt/include/sqlserver/macros/utils/split_part.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
For more information on how this XML trick works with splitting strings, see https://www.sqlservertips.com/sqlservertip/1771/splitting-delimited-strings-using-xml-in-sql-server/
33
On Azure SQL and SQL Server 2019, we can use the string_split function instead of the XML trick.
44
But since we don't know which version of SQL Server the user is using, we'll stick with the XML trick in this adapter.
5-
However, since the XML data type is not supported in Synapse, it has to be overriden in that adapter.
5+
However, since the XML data type is not supported in Synapse, it has to be overridden in that adapter.
66

77
To adjust for negative part numbers, aka 'from the end of the split', we take the position and subtract from last to get the specific part.
88
Since the input is '-1' for the last, '-2' for second last, we add 1 to the part number to get the correct position.

0 commit comments

Comments
 (0)