Skip to content

Commit

Permalink
fix: Use column name in allow_column_alter error message (#1001)
Browse files Browse the repository at this point in the history
Co-authored-by: Edgar R. M <edgar@meltano.com>
  • Loading branch information
Ken Payne and edgarrmondragon authored Sep 28, 2022
1 parent 1aee315 commit 3fbc2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/streams/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ def _adapt_column_type(
if not self.allow_column_alter:
raise NotImplementedError(
"Altering columns is not supported. "
f"Could not convert column '{full_table_name}.column_name' "
f"Could not convert column '{full_table_name}.{column_name}' "
f"from '{current_type}' to '{compatible_sql_type}'."
)

Expand Down

0 comments on commit 3fbc2db

Please sign in to comment.