Writing to defined RedShift table

Friend of mine pointed this out but im putting here for others…

Problem:
“I have a Glue Job writing to RedShift, but it is writing to the db’s public instead of the defined schema”

Answer:
To write to a table in Redshift other than the default public one, dbtable needs to be {schema}.{table} or it will assume you want public.{table}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s