mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 12:17:02 +00:00
Although it isn't terribly useful, an Alternator user can enable TTL with an expiration-time attribute set to a *key* attribute. Because expiration times should be numeric - not other types like strings - DynamoDB could warn the user when a chosen key attribute hs a non- numeric type (since key attributes do have fixed types!). But DynamoDB doesn't warn about this - it simply expires nothing. This test verifies this that it indeed does this. Signed-off-by: Nadav Har'El <nyh@scylladb.com>