Skip to content

Commit b5ccf18

Browse files
authored
fix: Correct the syntax error in the ClickHouse cast method (#6154) Thanks @fxx-real!
1 parent cbf4620 commit b5ccf18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class ClickHouseQuery extends BaseQuery {
174174
}
175175

176176
castToString(sql) {
177-
return `CAST(${sql} as STRING)`;
177+
return `CAST(${sql} as String)`;
178178
}
179179

180180
seriesSql(timeDimension) {

0 commit comments

Comments
 (0)