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

tsbs_load_timescale data loss #245

Open
GreateFang opened this issue Dec 6, 2023 · 1 comment
Open

tsbs_load_timescale data loss #245

GreateFang opened this issue Dec 6, 2023 · 1 comment

Comments

@GreateFang
Copy link

I gennerated a iot dataset and load them to timescaleDB and another database, while the num of data load in timescaleDB less than the another DB.

image

I check the dataset and found some data cannot found in timescale. follow is a example:
image
image
image

@GreateFang
Copy link
Author

image I think the reason is the logic here :If a truck has already reported a tag to table `tags` once, it will not report again, even if the truck later reports a different tag (simulating imperfect data in the real world).

I think the logic here will also result in will inconsistent tags data when running tsbs_load_timescale multiple times with the same data set. because the tags data is influenced by the order of batch writes.

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

1 participant