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 b665037 commit 4e20c5eCopy full SHA for 4e20c5e
packages/cubejs-schema-compiler/src/adapter/ClickHouseQuery.ts
@@ -245,7 +245,7 @@ export class ClickHouseQuery extends BaseQuery {
245
// Clickhouse sometimes includes the "q_0" prefix in the column name, and this
246
// leads to errors during the result mapping.
247
if (cubeAlias === 'q_0') {
248
- return this.dimensionAliasNames().map(alias => `${cubeAlias && `${cubeAlias}.` || ''}${alias} ${alias}`);
+ return this.dimensionAliasNames().map(alias => `${cubeAlias}.${alias} ${alias}`);
249
} else {
250
return super.dimensionColumns(cubeAlias);
251
}
0 commit comments