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 1ddf5e7 commit 2c3e991Copy full SHA for 2c3e991
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -3473,7 +3473,8 @@ export class BaseQuery {
3473
}
3474
// TODO: https://github.com/cube-js/cube.js/issues/4019
3475
// use single underscore for pre-aggregations to avoid fail of pre-aggregation name replace
3476
- if (name === '__user' || name === '__cubejoinfield') {
+ const lowercaseName = name.toLowerCase();
3477
+ if (lowercaseName === '__user' || lowercaseName === '__cubejoinfield') {
3478
return name;
3479
3480
return inflection.underscore(name).replace(/\./g, isPreAggregationName ? '_' : '__');
0 commit comments