Skip to content

Commit 5d89ccd

Browse files
author
Florian CHAZAL
committed
feat(gateway): return usedPreAggregations even in prod
1 parent 995f526 commit 5d89ccd

File tree

3 files changed

+29729
-3
lines changed

3 files changed

+29729
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,13 +1633,13 @@ class ApiGateway {
16331633
context.signedWithPlaygroundAuthSecret
16341634
? {
16351635
refreshKeyValues: response.refreshKeyValues,
1636-
usedPreAggregations: response.usedPreAggregations,
16371636
transformedQuery: sqlQuery.canUseTransformedQuery,
1638-
requestId: context.requestId,
16391637
}
16401638
: null
16411639
),
16421640
annotation,
1641+
requestId: context.requestId,
1642+
usedPreAggregations: response.usedPreAggregations,
16431643
dataSource: response.dataSource,
16441644
dbType: response.dbType,
16451645
extDbType: response.extDbType,

packages/cubejs-docker/local.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG DEV_BUILD_IMAGE=cubejs/cube:build
1+
ARG DEV_BUILD_IMAGE=cubejs/cube:dev
22

33
FROM $DEV_BUILD_IMAGE as build
44
FROM node:18.20.3-bullseye-slim

0 commit comments

Comments
 (0)