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, ) )