cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-7445) Support Thrift tables clustering columns on CqlPagingInputFormat
Date Wed, 25 Jun 2014 22:40:25 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-7445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paulo Motta updated CASSANDRA-7445:
-----------------------------------

    Attachment: 1.2-CASSANDRA-7445-withPigTests.txt

Patch attached with Pig unit test for thrift tables with fake clustering keys.

> Support Thrift tables clustering columns on CqlPagingInputFormat
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-7445
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7445
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>             Fix For: 1.2.17
>
>         Attachments: 1.2-CASSANDRA-7445-withPigTests.txt, 1.2-CASSANDRA-7445.txt
>
>
> CASSANDRA-5752 introduced support to thrift tables on CQLPagingInputFormat via the retrieveKeysForThriftTables()
method.
> However, this method only retrieves partition keys from CFMetaData, so clustering columns
are ignored.
> So, when the RowIterator tries to fetch the next page of a wide-row thrift CF, it ignores
the clustering column altogether, going to the next partition token. So, only cassandra.input.page.row.size
CQL rows are retrieved for each partition key.
> CqlRecordWriter had the same issue and was fixed on bcfe352ea6ed3786f274b90191f988210360689d
(CASSANDRA-5718).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message