Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
Credgate committed Mar 14, 2023
1 parent 7fa332e commit 9ea09d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_redshift/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def discover_catalog(conn, db_name, db_schemas):
entries = []
LOGGER.warning(f"column_specs before transformation: {column_specs}")
table_columns = [{'name': k, 'columns': [
{'pos': t[1], 'name': t[2], 'nullable': t[3], 'type': t[4]} for t in v
{'pos': t[1], 'name': t[2], 'type': t[3], 'nullable': t[4], } for t in v
]} for k, v in groupby(column_specs, key=lambda t: t[0])]
LOGGER.warning(f"Table_columns after transformation: {table_columns}")
table_pks = {k: [t[1] for t in v]
Expand Down

0 comments on commit 9ea09d1

Please sign in to comment.