Skip to content

Commit

Permalink
cast port as integer
Browse files Browse the repository at this point in the history
  • Loading branch information
jiezhen-chen committed Jul 6, 2023
1 parent 6254fdd commit 9370bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/redshift/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def get_connect_method(self):
kwargs = {
"host": self.credentials.host,
"database": self.credentials.database,
"port": self.credentials.port if self.credentials.port else 5439,
"port": int(self.credentials.port) if self.credentials.port else int(5439),
"auto_create": self.credentials.autocreate,
"db_groups": self.credentials.db_groups,
"region": self.credentials.region,
Expand Down

0 comments on commit 9370bbf

Please sign in to comment.