belliottsmith commented on code in PR #2073:
URL: https://github.com/apache/cassandra/pull/2073#discussion_r1068271997
##########
test/unit/org/apache/cassandra/service/accord/api/AccordKeyTest.java:
##########
@@ -59,26 +59,26 @@ public static IPartitioner partitioner(TableId tableId)
public void partitionKeyTest()
{
DecoratedKey dk =
partitioner(TABLE1).decorateKey(ByteBufferUtil.bytes(5));
- PartitionKey pk = new PartitionKey(TABLE1, dk);
+ PartitionKey pk = new PartitionKey("ks", TABLE1, dk);
Review Comment:
Yes, TABLE1 has a keyspace of "ks" and we serialise only the tableId and
grab the keyspace from its metadata, so we deserialise ks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]