Skip to content

Commit

Permalink
Fix regex group #20
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov authored Nov 4, 2021
1 parent b60f67e commit 6f99be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/clickhouse/column.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(

if dtype.lower().startswith('fixedstring'):
match_sized = self._fix_size_regex.search(dtype)
char_size = int(match_sized.group(2))
char_size = int(match_sized.group(1))

if dtype.lower().startswith('decimal'):
match_dec = self._decimal_regex.search(dtype)
Expand Down

0 comments on commit 6f99be0

Please sign in to comment.