Databricks truncates datatypes returned via DESCRIBE EXTENDED
which is used by get_columns_in_relation()
#779
Labels
bug
Something isn't working
Describe the bug
Couldn't tell you the full impact of this bug but where I encountered it was while using
on_schema_change="sync_all_columns"
.Basically the bug led to truncated results that feed queries involved in handling alter statements when there are data type changes in a dataset.
Current Behaviour
This is because running the below truncates the data types
Truncated field example using
DESCRIBE EXTENDED
Requested Behaviour
Ideally dbt databricks instead uses the below to acquire that information as it does not truncate data types
Steps To Reproduce
dbt-databricks
that looks up the datatype of that field viaget_columns_in_relation()
Expected Behaviour
dbt-databricks
that looks up the datatype of that field viaget_columns_in_relation()
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
System information
Additional context
The text was updated successfully, but these errors were encountered: