Skip to content

Commit 0acc1bf

Browse files
committed
remove obsolete
1 parent dc5d1cf commit 0acc1bf

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

packages/cubejs-api-gateway/src/gateway.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,6 @@ class ApiGateway {
16541654
values: sqlQuery.sql[1],
16551655
continueWait: true,
16561656
renewQuery: normalizedQuery.renewQuery,
1657-
cache: normalizedQuery.cache,
16581657
requestId: context.requestId,
16591658
context,
16601659
persistent: false,
@@ -1679,7 +1678,6 @@ class ApiGateway {
16791678
values: totalQuery.sql[1],
16801679
continueWait: true,
16811680
renewQuery: normalizedTotal.renewQuery,
1682-
cache: normalizedTotal.cache,
16831681
requestId: context.requestId,
16841682
context
16851683
});
@@ -2015,7 +2013,6 @@ class ApiGateway {
20152013
values: request.sqlQuery[1],
20162014
continueWait: true,
20172015
renewQuery: normalizedQueries[0].renewQuery,
2018-
cache: normalizedQueries[0].cache,
20192016
requestId: context.requestId,
20202017
context,
20212018
...sqlQueries[0],

packages/cubejs-api-gateway/src/query.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ const querySchema = Joi.object().keys({
189189
total: Joi.boolean(),
190190
// @deprecated
191191
renewQuery: Joi.boolean(),
192-
cache: Joi.valid('stale-if-slow', 'stale-while-revalidate', 'must-revalidate', 'no-cache').default('stale-if-slow'),
193192
ungrouped: Joi.boolean(),
194193
responseFormat: Joi.valid('default', 'compact'),
195194
subqueryJoins: Joi.array().items(subqueryJoin),

packages/cubejs-api-gateway/src/types/query.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Network query data types definition.
66
*/
77

8-
import { CacheMode } from '@cubejs-backend/shared';
98
import {
109
Member,
1110
TimeMember,
@@ -142,7 +141,6 @@ interface Query {
142141
timezone?: string;
143142
// @deprecated
144143
renewQuery?: boolean;
145-
cache?: CacheMode;
146144
ungrouped?: boolean;
147145
responseFormat?: ResultType;
148146

0 commit comments

Comments
 (0)