You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@NikkaIW Thanks for opening the issue, and sorry for the delay getting back to you!
I've just realized that this is a dupe of #202, which we resolved in #204. So the good news is, you should be able to fix this by upgrading to dbt-spark v0.21.0 :)
Describe the bug
when using get_columns_in_relation with spark/databricks, I have element in a struct field as a result and not only the struct field
Steps To Reproduce
where table has a field with struct datatype such as
address struct<scn:int,from:int,to:int,lines:array<string>,postCode:string>
Expected behavior
I would expect as output
[<SparkColumn address (struct)>]
instead I have
[<SparkColumn address (struct)>, <SparkColumn scn (integer)>, <SparkColumn from (integer)>, <SparkColumn to (integer)>, <SparkColumn lines (array)>, <SparkColumn postCode (string)>]
The output of
dbt --version
:The operating system you're using: macOS Big Sur
The output of
python --version
: Python 3.7.9The text was updated successfully, but these errors were encountered: