Skip to content

Commit dbeddf0

Browse files
Merge branch 'master' into feat/cube/add-node-keep-alive-headers-timeout-configs
2 parents f2f7eb9 + 273d277 commit dbeddf0

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
@@ -18,7 +18,7 @@ class ClickHouseFilter extends BaseFilter {
1818
public likeIgnoreCase(column, not, param, type) {
1919
const p = (!type || type === 'contains' || type === 'ends') ? '%' : '';
2020
const s = (!type || type === 'contains' || type === 'starts') ? '%' : '';
21-
return `lower(${column}) ${not ? 'NOT' : ''} LIKE CONCAT('${p}', lower(${this.allocateParam(param)}), '${s}')`;
21+
return `${column} ${not ? 'NOT' : ''} ILIKE CONCAT('${p}', ${this.allocateParam(param)}, '${s}')`;
2222
}
2323

2424
public castParameter() {

0 commit comments

Comments
 (0)