From 3e9565327140915e619b1a9a40d581886cf86403 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Wed, 22 Feb 2023 18:43:45 -0500 Subject: [PATCH 1/2] implement data_type_code_to_name on SparkConnectionManager --- dbt/adapters/spark/connections.py | 4 ++++ 1 file changed, 4 insertions(+) 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 From ff1d2778d74c64d1a2e91b88566e2bd745c86c4d Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 23 Feb 2023 18:09:30 -0500 Subject: [PATCH 2/2] changelog entry --- .changes/unreleased/Features-20230223-180923.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Features-20230223-180923.yaml 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"