Skip to content

Commit eecf813

Browse files
Florian CHAZALflochaz
authored andcommitted
feat(gateway): return usedPreAggregations even in prod
1 parent 7ef6282 commit eecf813

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
@@ -1655,13 +1655,13 @@ class ApiGateway {
16551655
context.signedWithPlaygroundAuthSecret
16561656
? {
16571657
refreshKeyValues: response.refreshKeyValues,
1658-
usedPreAggregations: response.usedPreAggregations,
16591658
transformedQuery: sqlQuery.canUseTransformedQuery,
1660-
requestId: context.requestId,
16611659
}
16621660
: null
16631661
),
16641662
annotation,
1663+
requestId: context.requestId,
1664+
usedPreAggregations: response.usedPreAggregations,
16651665
dataSource: response.dataSource,
16661666
dbType: response.dbType,
16671667
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:20.17.0-bookworm-slim

0 commit comments

Comments
 (0)