Skip to content

Commit

Permalink
MINOR: Fix redshift ingestion warnings in case of ext table (#17767)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulixius9 authored Sep 10, 2024
1 parent b08836e commit b142882
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,14 @@ def _update_column_info( # pylint: disable=too-many-arguments
return column_info


# pylint: disable=unused-argument
def _update_coltype(coltype, args, kwargs, attype, name, is_array):
if coltype:
coltype = coltype(*args, **kwargs)
if is_array:
coltype = ischema_names["_array"](coltype)
else:
util.warn(f"Did not recognize type '{attype}' of column '{name}'")
coltype = sqltypes.NULLTYPE
coltype = create_sqlalchemy_type("UNKNOWN")
return coltype


Expand Down

0 comments on commit b142882

Please sign in to comment.