From f2510904079c747cfe81f4e01fd26e0f804e90b6 Mon Sep 17 00:00:00 2001 From: vakarisbk Date: Tue, 3 Oct 2023 20:13:25 +0300 Subject: [PATCH] fix integration tests --- .circleci/config.yml | 5 ++++- dbt/adapters/spark/connections.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 40e991e38..96a86ffee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,10 @@ jobs: steps: - run: name: install python, pip and git, tox - command: apt update && apt install -y python3.10 pip git tox + command: apt update && apt install -y python3.10 pip git + - run: + name: install pyspark and tox + command: pip install pyspark==3.5.0 tox - run: name: start connect server command: | diff --git a/dbt/adapters/spark/connections.py b/dbt/adapters/spark/connections.py index 32a7d46c6..ad7355720 100644 --- a/dbt/adapters/spark/connections.py +++ b/dbt/adapters/spark/connections.py @@ -540,7 +540,7 @@ def open(cls, connection: Connection) -> Connection: handle = SessionConnectionWrapper( Connection( conn_method=creds.method, - conn_url=conn_url, + conn_url="localhost", server_side_parameters=creds.server_side_parameters, ) )