Skip to content

Commit

Permalink
fix(cubestore-driver): Use ILIKE for contains filter (#3502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Oct 1, 2021
1 parent 54e178c commit c1b2e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-cubestore-driver/src/CubeStoreQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const GRANULARITY_TO_INTERVAL: Record<string, string> = {

class CubeStoreFilter extends BaseFilter {
public likeIgnoreCase(column, not, param) {
return `${column}${not ? ' NOT' : ''} LIKE CONCAT('%', ${this.allocateParam(param)}, '%')`;
return `${column}${not ? ' NOT' : ''} ILIKE CONCAT('%', ${this.allocateParam(param)}, '%')`;
}
}

Expand Down

0 comments on commit c1b2e10

Please sign in to comment.