Closed mboudreau closed 12 years ago
In AlternatorDBHandler scan() there is the code:
for (Map<String, AttributeValue> item : items) {
result.setLastEvaluatedKey(new Key(item.get("id")));
}
Which is wrong I believe and should look more like:
for (Map<String, AttributeValue> item : items) {
result.setLastEvaluatedKey(new Key(item.get(theTable.getHashKeyName())));
}
I do believe you are correct sir, let me change that :)
I've fixed the problem, but the test is still not running properly. I'm going to spend some time on fixing this.
The scan is failing on
queryWithHashKey(com.michelboudreau.test.AlternatorQueryTest)