Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres character columns are not treated as string types #1194

Closed
drewbanin opened this issue Dec 19, 2018 · 0 comments
Closed

Postgres character columns are not treated as string types #1194

drewbanin opened this issue Dec 19, 2018 · 0 comments
Labels
bug Something isn't working redshift

Comments

@drewbanin
Copy link
Contributor

Issue

Issue description

dbt does not treat character types as string types, and therefore leaves out the length portion of the character column type when building columns. This happens during Archival (and likely incremental models when expanding types) on Postgres.

Results

dbt should treat character as a string type, as with varchar and text.

System information

The output of dbt --version:

0.12.x

Steps to reproduce

Archive a table on Postgres with a column of type character(36). dbt will recreate this column with type character with no size specified.

This issue was created from the description of #1191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working redshift
Projects
None yet
Development

No branches or pull requests

1 participant