Skip to content

Commit

Permalink
implement data_type_code_to_name on SparkConnectionManager (#647)
Browse files Browse the repository at this point in the history
* implement data_type_code_to_name on SparkConnectionManager
  • Loading branch information
MichelleArk authored Mar 3, 2023
1 parent eadf4a7 commit a405d24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
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

0 comments on commit a405d24

Please sign in to comment.