Azure-Samples / Azure-Time-Series-Insights

Sample modules written in different languages that can be used as templates for applications needing to query Time Series Insights
MIT License
21 stars 31 forks source link

Update Events not possible #35

Open Frank-Vito opened 3 years ago

Frank-Vito commented 3 years ago

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

When sending multiple events with and identical timestamp and id this results in multiple events being created.

image

Expected/desired behavior

If an event with the same timestamp and id already exists, the values should be updated /overwritten.

Mention any other details that might be useful

consider the following scenario. Where are using TSI to store forecast for the next 14 days. These forecasts are updated every day , creating a sliding window of updated forecasts. Idea is to have a single TSI instance containing the latest forecast. Because the events are not updated, but added the values returned by TSI are incorrect.