I have a table with only hash key, now use case requires to create a GSI with creationDate as range key.
I am achieving this by specifying creationDate value as a number in all new items.
But the table already has about 5000 entries with no value set for creationDate and those entries are not included in the result of scan or query operation on GSI. As a solution to this I want to use a default value for all entries with currently no value for creationDate. How do I do this using dynamodbmapper in Java, or is there a way to do it using AWS console ?