diff --git a/.changes/unreleased/Features-20230223-180923.yaml b/.changes/unreleased/Features-20230223-180923.yaml new file mode 100644 index 000000000..4faed7bc1 --- /dev/null +++ b/.changes/unreleased/Features-20230223-180923.yaml @@ -0,0 +1,6 @@ +kind: Features +body: implement data_type_code_to_name on SparkConnectionManager +time: 2023-02-23T18:09:23.787675-05:00 +custom: + Author: michelleark + Issue: "639" diff --git a/dbt/adapters/spark/connections.py b/dbt/adapters/spark/connections.py index a606beb78..88163b5cc 100644 --- a/dbt/adapters/spark/connections.py +++ b/dbt/adapters/spark/connections.py @@ -492,6 +492,10 @@ def open(cls, connection): connection.state = ConnectionState.OPEN return connection + @classmethod + def data_type_code_to_name(cls, type_code: str) -> str: + return type_code + def build_ssl_transport(host, port, username, auth, kerberos_service_name, password=None): transport = None