adelapena commented on code in PR #1739:
URL: https://github.com/apache/cassandra/pull/1739#discussion_r931181783
##########
src/java/org/apache/cassandra/cql3/selection/ElementsSelector.java:
##########
@@ -226,9 +234,19 @@ public ByteBuffer getOutput(ProtocolVersion
protocolVersion)
protected abstract ByteBuffer extractSelection(ByteBuffer collection);
- public void addInput(ProtocolVersion protocolVersion, InputRow input)
+ public void addInput(InputRow input)
+ {
+ selected.addInput(input);
+ }
+
+ protected int getElementIndex(ByteBuffer output, ByteBuffer key)
{
- selected.addInput(protocolVersion, input);
+ return type.getSerializer().getIndexFromSerialized(output, key,
keyType(type));
+ }
Review Comment:
Right, good catch, it should be a leftover. Removed.
--
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]