RenewQuery parameter is not working
Describe the bug We tested both scenarios and observed the same behavior. The query is requested via the REST API:
- Without cacheMode, but with renewQuery: true
- With cache: 'must-revalidate' and renewQuery: true
In both cases, the pipeline behaves as if itβs in stale-if-slow mode. Attaching log examples for one of these queries.
Additionally, after the version update we started seeing Slow query warning logs, which should not occur when renewQuery: true is set (we include it in every query).
We have downgraded to 1.3.82.
To Reproduce Steps to reproduce the behavior:
- Run query with renewQuery: true
- Analyze normalizedQuery
Expected behavior Everything works like cacheMode is 'must-revalidate'
Screenshots
Version: 1.4.0
This issue might already be fixed within https://github.com/cube-js/cube/pull/10162. Duplicates https://github.com/cube-js/cube/issues/10109