Skip to content

Commit

Permalink
Bug in column_format using test column
Browse files Browse the repository at this point in the history
  • Loading branch information
s7clarke10 authored Oct 30, 2023
1 parent f5bc24a commit bc13423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_mssql/sync_strategies/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def prepare_columns_sql(catalog_entry, c):
"""
elif sql_data_type == 'datetimeoffset':
return f"""case when {column_name} is not null then
CONVERT(VARCHAR,dt_offset_col,127)
CONVERT(VARCHAR,{column_name},127)
else null end
"""

Expand Down

0 comments on commit bc13423

Please sign in to comment.