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.
1 parent 9207678 commit 5a5fffdCopy full SHA for 5a5fffd
packages/cubejs-schema-compiler/adapter/BaseQuery.js
@@ -1066,7 +1066,7 @@ class BaseQuery {
1066
this.safeEvaluateSymbolContext().ungrouped ||
1067
this.safeEvaluateSymbolContext().ungroupedForWrappingGroupBy
1068
) {
1069
- return evaluateSql;
+ return evaluateSql === '*' ? '1' : evaluateSql;
1070
}
1071
if ((this.safeEvaluateSymbolContext().ungroupedAliases || {})[measurePath]) {
1072
evaluateSql = (this.safeEvaluateSymbolContext().ungroupedAliases || {})[measurePath];
0 commit comments