Skip to content

Commit

Permalink
Use character varying as output type for Redshift
Browse files Browse the repository at this point in the history
In Redshift, `string` is not a supported column type.  Replace `string` with `character varying` for output columns.
  • Loading branch information
sjwmoveon authored Nov 29, 2023
1 parent 33ed1bb commit 6552b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glue_job.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ locals {

# Unsupported columnt types for Redshift: these will be replaced by the mapped type
unsupported_output_column_types = {
"hstore" = "string"
"jsonb" = "string"
"hstore" = "character varying"
"jsonb" = "character varying"
"numeric\\(3,2\\)" = "decimal(3,2)"
"timestamp without time zone" = "timestamp"
}
Expand Down

0 comments on commit 6552b0f

Please sign in to comment.