Relation name 'xyz__dbt_incremental_period0_tmp' is longer than 63 characters #35
Labels
bug
Something isn't working
good first issue
Good for newcomers
insert_by_period
relating to the insert by period materializaiton
Describe the bug
We have a model with a long name.
When we use
materialized: insert_by_period
and the suffix is appended bydbt-utils
, the resulting model name is too long.Steps to reproduce
Use a model name that is 62 characters.
Expected results
Not result in an error and have the ability to override the name.
Actual results
An error is thrown:
Screenshots and log output
N/A
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:Additional context
The fix for PostgreSQL was implemented here: dbt-labs/dbt-core#4921
I think changing the code to:
Should solve the problem.
Are you interested in contributing the fix?
The text was updated successfully, but these errors were encountered: