[ https://issues.apache.org/jira/browse/CASSANDRA-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166786#comment-13166786 ]
Zoltan Farkas commented on CASSANDRA-3604: ------------------------------------------ OK, I believe we are looking at different versions I see the issue in: trunk: Revision 1212726 last modified Dec 06 ByteBuffer startKeyBytes = (select.getKeyStart() != null) Line 155: ? select.getKeyStart().getByteBuffer(keyType) : null; ByteBuffer finishKeyBytes = (select.getKeyFinish() != null) ? select.getKeyFinish().getByteBuffer(keyType) : null; THe actual definition RowPosition startKey = RowPosition.forKey(startKeyBytes, p), finishKey = RowPosition.forKey(finishKeyBytes, p); > Bad code in org.apache.cassandra.cql.QueryProcessor > --------------------------------------------------- > > Key: CASSANDRA-3604 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3604 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.1 > Environment: all > Reporter: Zoltan Farkas > Original Estimate: 5m > Remaining Estimate: 5m > > line 206: > if (rows.get(0).key.key.equals(startKey)) > rows.remove(0); > the equals will always return false because object of different types are > compared -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira