# pk__token column name issue with the equality operator

## Description

In cqlengine.query, there is a bug in the function that affects the virtual field pk_token, as a bare column name. The parsing gives 'pk' as the column, and thus makes pk_token equality comparisons impossible in filters:

None

None

## Activity

Show:
Ying-zong Huang
June 9, 2016, 9:26 AM
Alan Boudreault
June 9, 2016, 10:31 PM

Thanks for the report and the suggested patch. We will take a look at this in the next cqlengine focused release.

Alan Boudreault
June 10, 2016, 1:17 AM

It would be appreciated if you could also attach a test case that reproduce the issue.

Alan Boudreault
July 15, 2016, 6:30 AM

Thank you . With your pointers, it has been straightforward to reproduce the bug and put the appropriate fixes where needed.

Greg Bestland
July 21, 2016, 7:23 AM

Test Coverage is good +1 LGTM

Fixed

Unassigned

Ying-zong Huang

None

None

None

None

None

None

None

Py P-NEXT

Major