diff --git a/dbt/adapters/spark/connections.py b/dbt/adapters/spark/connections.py index 556f10a2f..d28eaccc5 100644 --- a/dbt/adapters/spark/connections.py +++ b/dbt/adapters/spark/connections.py @@ -117,8 +117,8 @@ def __post_init__(self): ) if ( - self.method == SparkConnectionMethod.HTTP - or self.method == SparkConnectionMethod.THRIFT + self.method == SparkConnectionMethod.HTTP + or self.method == SparkConnectionMethod.THRIFT ) and not (ThriftState and THttpClient and hive): raise dbt.exceptions.DbtRuntimeError( f"{self.method} connection method requires "