cassandra-commits mailing list archives

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


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:
>             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()
> 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
CQL rows are retrieved for each partition key.
> CqlRecordWriter had the same issue and was fixed on bcfe352ea6ed3786f274b90191f988210360689d

This message was sent by Atlassian JIRA

View raw message