Pandra 0.2 - Query#extract Fix

3 views
Skip to first unread message

loretoparisi

unread,
Sep 2, 2010, 9:07:08 AM9/2/10
to pandra-dev
Hi found that on line 146 of Query.class.php:

$preResult = PandraCore::getCFSliceMulti($this->_keySpace, $this-
>_keys, $this->_columnFamily);


PandraCore::getCFSliceMulti()

is called in the wrong way, since the third parameter should be a
cassandra_ColumnParent, also the fourth parm should be a
SlicePredicate.

Finally it will be something like the following code:

$preResult = PandraCore::getCFSliceMulti($this->_keySpace, $this-
>_keys,
new cassandra_ColumnParent(array(
'column_family' => $this->_columnFamily,
)),
$predicate
);

Anyway, I didn't realize which predicate to apply :(


Reply all
Reply to author
Forward
0 new messages