Contains and Likes clauses are being used to compute the parition keys

Description

ContainsOperator and LikeOperator in cqlengine/operator.py inherit from EqualsOperator. This means the columns using those operators are being used to compute the partition keys. After they don't have to be part of the partition key so they should inherit from BaseWhereOperator

Environment

None

Pull Requests

None

Activity

Show:
Jaume Marhuenda
April 12, 2018, 4:48 AM

Just realized this is not true, only if the class is equal to EqualsOperator they are used to compute the primary keys not if it inherits.

Not a Problem

Assignee

Unassigned

Reporter

Jaume Marhuenda

Fix versions

None

Labels

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Pull Request

None

Affects versions

Priority

Major