You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Fabien Rousseau (JIRA)" <ji...@apache.org> on 2013/10/01 12:37:23 UTC
[jira] [Updated] (CASSANDRA-6119) IndexedSliceReader can skip
columns when fetching multiple contiguous slices
[ https://issues.apache.org/jira/browse/CASSANDRA-6119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabien Rousseau updated CASSANDRA-6119:
---------------------------------------
Attachment: 6119.patch
> IndexedSliceReader can skip columns when fetching multiple contiguous slices
> ----------------------------------------------------------------------------
>
> Key: CASSANDRA-6119
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6119
> Project: Cassandra
> Issue Type: Bug
> Reporter: Fabien Rousseau
> Assignee: Fabien Rousseau
> Attachments: 6119.patch
>
>
> This was observed using SliceQueryFilter with multiple slices.
> Let's have a row "a" having the following column list : "colA", "colB", "colC", "colD"
> Then select 2 ranges : ["colA", "colB"], ["colC", "colD"]
> Expected result is the four columns
> But only 3 are returned ("colA", "colB", "colD")
> To reproduce the above scenario in the unit tests, you can modify the test "ColumnFamilyStoreTest.testMultiRangeIndexed" by replacing the original line :
> String[] letters = new String[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" };
> by this one ("f" letter has been removed) :
> String[] letters = new String[] { "a", "b", "c", "d", "e", "g", "h", "i" };
> Anyway, a patch is attached which adds more unit tests, and modifies IndexedSliceReader.IndexedBlockFetcher & IndexedSliceReader.SimpleBlockFetcher
--
This message was sent by Atlassian JIRA
(v6.1#6144)