I'm using AWS dynamodb to store some data. This table has 'key' as 'Primary partition key' and 'create_micro_time_float' as 'Primary sort key'.
My data in the table is something like this.
{
'key': {'S': 'xxx'},
'create_micro_time_float': {'N': 1499844782.50379992}
}, ...
But when I use 'scan' operation (to retrieve all data in the table), I got something like this.
{
'key': {'S': 'xxx'},
'create_micro_time_float': {'N': 1499844782.5037999}
}, ...
The last decimal point of my 'Primary sort key' is missing.
The problem is I want to update all record in the table but now I have an incorrect sort key. I need a correct sort key in order to update the record in the table.
How can I do this (with nodejs dynamodb aws sdk)?
Thank you in advance.