Skip to content

Commit

Permalink
pinning v1.8.0 dbt adapter and optimizing snapshot issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepsrikakolapu committed May 19, 2024
1 parent adf9f8d commit 5b43a16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/fabric/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.8.3"
version = "1.8.4"
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@
| rejectattr('name', 'equalto', 'dbt_unique_key')
| rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')
| list %}
{% do create_columns(target_relation, missing_columns) %}
{% if missing_columns|length > 0 %}
{{log("Missing columns length is: "~ missing_columns|length)}}
{% do create_columns(target_relation, missing_columns) %}
{% endif %}
{% set source_columns = adapter.get_columns_in_relation(staging_table)
| rejectattr('name', 'equalto', 'dbt_change_type')
| rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def run(self):
install_requires=[
"pyodbc>=4.0.35,<5.2.0",
"azure-identity>=1.12.0",
"dbt-common>=0.1.0a1,<2.0",
"dbt-core>=1.8.0a1",
"dbt-adapters>=0.1.0a1,<2.0",
"dbt-common>=1.0.4,<2.0",
"dbt-core>=1.8.0",
"dbt-adapters>=1.1.1,<2.0",
],
cmdclass={
"verify": VerifyVersionCommand,
Expand Down

0 comments on commit 5b43a16

Please sign in to comment.