Files
floci/src/main/java/io/github
TATSUNO “Taz” Yasuhiro df0bf82e12 fix(dynamodb): reject a BETWEEN with reversed bounds at parse time (#3183)
* fix(dynamodb): reject a BETWEEN with reversed bounds at parse time

A BETWEEN whose lower bound exceeds its upper bound parsed cleanly and
then failed the condition at evaluation, so PutItem answered with a
ConditionalCheckFailedException. AWS rejects the expression itself with a
ValidationException.

The bounds are compared during expression validation, when both resolve
to values of the same type.

Closes 1 TIER 1 case in the dynamodb-conformance suite.

* fix(dynamodb): order BETWEEN string bounds by UTF-8 bytes like DynamoDB

* fix(dynamodb): answer a 400 SerializationException for a malformed binary BETWEEN bound

* fix(dynamodb): wrap the ConditionExpression BETWEEN error in the AWS validation envelope
2026-09-07 17:16:30 -04:00
..