Skip to content

Commit

Permalink
Merge pull request #51 from nielspardon/par-1.5
Browse files Browse the repository at this point in the history
Minimal changes to upgrade to dbt-core 1.5
  • Loading branch information
aurany authored Mar 6, 2024
2 parents f2a8227 + 7d60fd7 commit de04304
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 213 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install:
-p 50000:50000 \
-p 50002:50002 \
--privileged=true \
ibmcom/db2:11.5.7.0
icr.io/db2_community/db2:11.5.9.0
@docker logs -f dbt-db2 2>&1 | grep -m 1 '(*) Setup has completed.'
@docker exec \
-d \
Expand Down
1 change: 1 addition & 0 deletions dbt/adapters/ibmdb2/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = "1.5.0"
3 changes: 3 additions & 0 deletions dbt/adapters/ibmdb2/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def type(self):
def _connection_keys(self):
return ('host', 'database', 'schema', 'user', 'password', 'port', 'protocol', 'extra_connect_opts')

@property
def unique_field(self) -> str:
return self.host

class IBMDB2ConnectionManager(SQLConnectionManager):
TYPE = 'ibmdb2'
Expand Down
Loading

0 comments on commit de04304

Please sign in to comment.