LHWizard
LHWizard

Reputation: 2389

Tracing slow running query "Invalid amount of bind variables"

I'm trying to trace some slow running queries on my cluster in OpsCenter 5.2.1, DSE 4.8.10.

Every query that I try to trace in opscenter performance service gives the same error: com.datastax.driver.core.exceptions.InvalidQueryException: Invalid amount of bind variables

For example, SELECT trans_id FROM trans_summary WHERE brand_id = ? AND shard_id = ? AND yearmonth = 1510

The PRIMARY KEY for that table is PRIMARY KEY ((brand_id, yearmonth, shard_id), trans_id), so I'm not sure if I'm not understanding opscenter or the query is wrong.

Upvotes: 0

Views: 869

Answers (0)

Related Questions