Skip to content

Commit

Permalink
Minor change: line length and commas.
Browse files Browse the repository at this point in the history
  • Loading branch information
Шкаберда Вадим Миколайович committed Jan 17, 2023
1 parent ab8f3b9 commit 8d5b655
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dbt/adapters/spark/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,10 @@ def open(cls, connection):
kerberos_service_name=creds.kerberos_service_name,
password=creds.password,
)
conn = hive.connect(thrift_transport=transport, configuration=creds.server_side_parameters)
conn = hive.connect(
thrift_transport=transport,
configuration=creds.server_side_parameters,
)
else:
conn = hive.connect(
host=creds.host,
Expand All @@ -387,7 +390,7 @@ def open(cls, connection):
auth=creds.auth,
kerberos_service_name=creds.kerberos_service_name,
password=creds.password,
configuration=creds.server_side_parameters
configuration=creds.server_side_parameters,
) # noqa
handle = PyhiveConnectionWrapper(conn)
elif creds.method == SparkConnectionMethod.ODBC:
Expand Down

0 comments on commit 8d5b655

Please sign in to comment.