Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion operators/s3_to_redshift_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def reconcile_schemas(self, schema, pg_hook):
""".format(self.redshift_schema, self.table)

pg_schema = dict(pg_hook.get_records(pg_query))
incoming_keys = [column['name'] for column in schema]
incoming_keys = [column['name'].lower() for column in schema]
diff = list(set(incoming_keys) - set(pg_schema.keys()))
print(diff)
# Check length of column differential to see if any new columns exist
Expand Down