Skip to content

Commit

Permalink
feat(gateway): return usedPreAggregations even in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian CHAZAL committed Dec 17, 2024
1 parent 995f526 commit 5d89ccd
Show file tree
Hide file tree
Showing 3 changed files with 29,729 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/cubejs-api-gateway/src/gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1633,13 +1633,13 @@ class ApiGateway {
context.signedWithPlaygroundAuthSecret
? {
refreshKeyValues: response.refreshKeyValues,
usedPreAggregations: response.usedPreAggregations,
transformedQuery: sqlQuery.canUseTransformedQuery,
requestId: context.requestId,
}
: null
),
annotation,
requestId: context.requestId,
usedPreAggregations: response.usedPreAggregations,
dataSource: response.dataSource,
dbType: response.dbType,
extDbType: response.extDbType,
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-docker/local.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG DEV_BUILD_IMAGE=cubejs/cube:build
ARG DEV_BUILD_IMAGE=cubejs/cube:dev

FROM $DEV_BUILD_IMAGE as build
FROM node:18.20.3-bullseye-slim
Expand Down
Loading

0 comments on commit 5d89ccd

Please sign in to comment.