mboudreau / Alternator

A mock DynamoDB that runs locally for testing purposes - DEPRECATED, PLEASE USE DYNAMODB LOCAL: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
Apache License 2.0
78 stars 39 forks source link

Alternator is not properly supporting a few ComparisonOperator #80

Open velo opened 10 years ago

velo commented 10 years ago

I'm running a DynamoDBScanExpression and a few operations always fail (although they do work when I use DynamoDB on AWS)

ComparisonOperator.NE
ComparisonOperator.NOT_CONTAINS
ComparisonOperator.NULL
ComparisonOperator.NOT_NULL

I have one test that express this problem https://github.com/velo/querydsl/blob/dynamo/querydsl-dynamodb/src/test/java/com/mysema/query/dynamodb/DynamoDBQueryTest.java

mboudreau commented 10 years ago

Hm, interesting. These used to work, surprised the tests didn't catch it. Will have to check it out.

velo commented 10 years ago

May be cause I'm using mapper + scanner?