1 Answer
- Newest
- Most votes
- Most comments
1
In AWS Timestream, you can indeed have multiple attributes of TIMESTAMP data type in a multi-measure record. However, as you’ve noted, these TIMESTAMP attributes behave like the time field except that Timestream does not index on the values of type TIMESTAMP in a multi-measure record. This means that you cannot use them for deduplication as Timestream only allows deduplication over Timestamp and Dimension columns, not Measures.
One potential workaround could be to convert your “value_time” to a string and store it as a Dimension. This way, you can use it for deduplication. However, this approach has its own drawbacks as you would lose the ability to perform time-based operations on “value_time”.
Relevant content
- asked 5 years ago

Thanks. I had already thought about your proposed workaround, but I did not retain it, as I was thinking that it can lead to a very high cardinality on such Dimension column (with timestamp converted as string). I assume that it would lead to performance issues.
I will try it out instead with the following adapted workaround: