dbt-labs / dbt-spark

dbt-spark contains all of the code enabling dbt to work with Apache Spark and Databricks
https://getdbt.com
Apache License 2.0
405 stars 227 forks source link

[ADAP-348] Incorrect type annotation for data_type_code_to_name #665

Closed MichelleArk closed 1 year ago

MichelleArk commented 1 year ago

Example failure: https://github.com/dbt-labs/dbt-spark/actions/runs/4326751516/jobs/7554548565

dbt/adapters/spark/connections.py:496: error: Argument 1 of "data_type_code_to_name" is incompatible with supertype "SQLConnectionManager"; supertype defines the argument type as "Union[int, str]"  [override]