Skip to content

0.15 Databricks VARCHAR Data Type issue #1042

@chase-jones

Description

@chase-jones

Describe the bug - Required
Good morning! I just tested version 0.15.0 on the same data we had been running with the previous release and ran into this error multiple times during dbt build. When I ran only dbt run, the error only appeared once, but with the prior version we didn’t encounter it at all.
Is anyone else seeing this issue after upgrading to 0.15.0?
01:49:44 Database Error in model data_quality__exploratory_charts (models/data_quality/data_quality__exploratory_charts.sql)

[DATATYPE_MISSING_SIZE] DataType "VARCHAR" requires a length parameter, for example "VARCHAR"(10). Please specify the length. SQLSTATE: 42K01
== SQL (line 28, position 61) ==
...MONTH', ilmc.claim_end_date) as VARCHAR) as y_axis


Environment - Required

  • Tuva project package version (e.g. 0.6.0): 0.15
  • dbt version (e.g. 1.7): 1.9X
  • dbt type (e.g. dbt cloud or dbt CLI): Dbt core
  • Data warehouse (e.g. Snowflake): Databricks

Additional context
https://thetuvaproject.slack.com/archives/C03DET9ETK3/p1756393026277709

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions