Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement data_type_code_to_name on SparkConnectionManager #647

Merged
merged 9 commits into from
Mar 3, 2023
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230223-180923.yaml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 4 additions & 0 deletions dbt/adapters/spark/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down