We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__cubeJoinField
1 parent a606030 commit d98511cCopy full SHA for d98511c
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -2646,7 +2646,8 @@ export class BaseQuery {
2646
}
2647
// TODO: https://github.com/cube-js/cube.js/issues/4019
2648
// use single underscore for pre-aggregations to avoid fail of pre-aggregation name replace
2649
- if (name === '__user' || name === '__cubejoinfield') {
+ const lowercaseName = name.toLowerCase();
2650
+ if (lowercaseName === '__user' || lowercaseName === '__cubejoinfield') {
2651
return name;
2652
2653
return inflection.underscore(name).replace(/\./g, isPreAggregationName ? '_' : '__');
0 commit comments