Open rlh1994 opened 1 year ago
Thanks @rlh1994 !
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Is this a new bug in dbt-spark?
Current Behavior
Because there is no overwritten function, it uses a the core class, which is
character varying
which doesn't exist in spark (or databricks), so this api call just errors in spark/databricks targets.Expected Behavior
Model to pass, likely using
string
as the type.Steps To Reproduce
The easiest way to see it is with a basic model that just casts something to the string type:
Which in the case of a databricks target leads to the following compiled code
and a
dbt run
gives the error outputRelevant log output
No response
Environment
Additional Context
Issues in BQ: https://github.com/dbt-labs/dbt-bigquery/issues/665
dbt-core relevant issue: https://github.com/dbt-labs/dbt-adapters/issues/81