mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 22:38:09 -05:00
Write vote id only to column name for Cassandra views.
This commit is contained in:
@@ -161,7 +161,7 @@ class CassandraThingVote(CassandraVote):
|
||||
|
||||
def _on_create(self):
|
||||
wcl = tdb_cassandra.CL.ONE
|
||||
v_id = {self._id: self._id}
|
||||
v_id = {self._id: ''}
|
||||
|
||||
for view in self._views:
|
||||
view._set_values(view._rowkey(self), v_id,
|
||||
|
||||
Reference in New Issue
Block a user