-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kundera generated CQLs are not leveraging key/row cache #856
Comments
Which query are you using? and what is the generated query? -Karthik |
I have an entity and I'm querying it by id in a named query. I have kundera.show.sql set to true. I expected the generated query to be select * from entity where id = ?, but the actually query is select * from entity where token(id) = token(?). In schema, I have row cache and key cache enabled for the column family. Querying with id in cqlsh hits cache while querying with token function doesn't. Thank you! Regards, |
Sorry for late response. The current scenario, with key/row cache is yet to be handled. We will fix this soon and will be available in next release. -Karthik |
Hi @mqian, Fixed in Kundera 3.5 -Dev |
CQLs generated from Kundera use token function which doesn't leverage key/row cache.
I have a named query which simply queries by primary key, and I have key and row cache enabled. But the generated query uses token function and results in 0 cache hit.
Thank you!
Regards,
Malcolm Qian
The text was updated successfully, but these errors were encountered: