Closed babakc closed 8 months ago
Hi @babakc just submitted a PR that will help with this. Keep in mind you will also need to adjust your data reader Lambda to query
':startTime': new Date(startTime).getTime() + 1
or something similar, since in KeyConditionExpression: thingName = :hashKey AND #tmsp BETWEEN :startTime AND :endTime
, the "between" includes the startTime
What happened: When i enable streaming for the panel for a query with a custom component (fetching from DynamoDB), it duplicates already fetched records with every poll which can be seen when switching the panel visualisation to a table view.
What you expected to happen: No duplicate records, which is the case with Sitewise components.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment: