You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'd like to override the default value of preAggregationsSchema (stb_pre_aggregations). When I define preAggregationsSchema in the query, I get the error Invalid query format: "preAggregationsSchema" is not allowed.
@dtslvr Hey Thomas! It's actually intended. preAggregationsSchema is part of internal configuration that should be set up on server-wide level. I guess we can add it as CubejsServerCore option. Does it work for you?
Hi @paveltiunov, yes an option for preAggregationsSchema in CubejsServerCore makes totally sense.
dtslvr
changed the title
Invalid query format: preAggregationsSchema is not allowed
Make preAggregationsSchema an option of CubejsServerCore
Apr 30, 2019
Describe the bug
I'd like to override the default value of
preAggregationsSchema
(stb_pre_aggregations
). When I definepreAggregationsSchema
in the query, I get the errorInvalid query format: "preAggregationsSchema" is not allowed
.To Reproduce
Run the following query:
Expected behavior
Cube.js uses the passed
preAggregationsSchema
from the query.Version:
0.4.5
Additional context
preAggregationsSchema
is not part ofquerySchema
(https://github.com/statsbotco/cube.js/blob/master/packages/cubejs-api-gateway/index.js#L104)The text was updated successfully, but these errors were encountered: