diff --git a/r2/r2/lib/db/tdb_cassandra.py b/r2/r2/lib/db/tdb_cassandra.py index 35fc4141a..1793cefcf 100644 --- a/r2/r2/lib/db/tdb_cassandra.py +++ b/r2/r2/lib/db/tdb_cassandra.py @@ -790,6 +790,11 @@ class ThingBase(object): class Thing(ThingBase): _timestamp_prop = 'date' + # alias _date property for consistency with tdb_sql things. + @property + def _date(self): + return self.date + class UuidThing(ThingBase): _timestamp_prop = 'date' _extra_schema_creation_args = {