Skip to content

Commit d090e90

Browse files
committed
in work
1 parent 230567b commit d090e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ export class PreAggregations {
14041404
if (tables.length === 1) {
14051405
return tables[0].tableName;
14061406
}
1407-
const union = tables.map(table => `SELECT ${table.columns.join(', ')} FROM ${table.tableName} un`).join(' UNION ALL ');
1407+
const union = tables.map(table => `SELECT ${table.columns.join(', ')} FROM ${table.tableName}`).join(' UNION ALL ');
14081408
return `(${union})`;
14091409
}
14101410

0 commit comments

Comments
 (0)