Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"IndexError: no such group" for FixString column #20

Closed
burmecia opened this issue Nov 2, 2021 · 1 comment
Closed

"IndexError: no such group" for FixString column #20

burmecia opened this issue Nov 2, 2021 · 1 comment

Comments

@burmecia
Copy link

burmecia commented Nov 2, 2021

When a column type is like FixString(16), dbt compile will output no such group error. Might be a mistake in this line: https://github.com/silentsokolov/dbt-clickhouse/blob/b60f67ea24ce870a0108ee8194a6c29cb0d2cf70/dbt/adapters/clickhouse/column.py#L43

The regex it is using is https://github.com/silentsokolov/dbt-clickhouse/blob/b60f67ea24ce870a0108ee8194a6c29cb0d2cf70/dbt/adapters/clickhouse/column.py#L23

Should it be char_size = int(match_sized.group(1))?

@silentsokolov
Copy link
Collaborator

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants