Skip to content

Fix bug that load_clickhouse resulted in wrong number of devices in t…#276

Open
cocobond wants to merge 1 commit into
timescale:masterfrom
cocobond:master
Open

Fix bug that load_clickhouse resulted in wrong number of devices in t…#276
cocobond wants to merge 1 commit into
timescale:masterfrom
cocobond:master

Conversation

@cocobond
Copy link
Copy Markdown

After FIX:

image

Since only the first batch will follow this code logic, and subsequent batches will follow another function, it will not affect other scenarios. This simply fixes this bug.

This bug has been fixed. 🥳
I guess it was because clickhouse support imitated the writing of Timescale, but in the table creation statement of Timescale, hostname unique and tags_id nextval were not deduplicated and had no impact...

@cocobond
Copy link
Copy Markdown
Author

Fixes #275 🙌

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

Successfully merging this pull request may close these issues.

1 participant