Skip to content

Commit 4e20c5e

Browse files
authored
Apply suggestion from @KSDaemon
1 parent b665037 commit 4e20c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/src/adapter/ClickHouseQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class ClickHouseQuery extends BaseQuery {
245245
// Clickhouse sometimes includes the "q_0" prefix in the column name, and this
246246
// leads to errors during the result mapping.
247247
if (cubeAlias === 'q_0') {
248-
return this.dimensionAliasNames().map(alias => `${cubeAlias && `${cubeAlias}.` || ''}${alias} ${alias}`);
248+
return this.dimensionAliasNames().map(alias => `${cubeAlias}.${alias} ${alias}`);
249249
} else {
250250
return super.dimensionColumns(cubeAlias);
251251
}

0 commit comments

Comments
 (0)