Skip to content

Commit 33cd9f8

Browse files
committed
Revert "chore(schema-compiler): remove Ramda from BaseGroupFilter"
This reverts commit 2437a0f.
1 parent 2437a0f commit 33cd9f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import R from 'ramda';
2+
13
export class BaseGroupFilter {
24
protected readonly values: any;
35

@@ -29,7 +31,7 @@ export class BaseGroupFilter {
2931
return null;
3032
}
3133
return `(${sql})`;
32-
}).filter(x => x).join(` ${this.operator.toUpperCase()} `);
34+
}).filter(R.identity).join(` ${this.operator.toUpperCase()} `);
3335

3436
if (!r.length) {
3537
return null;

0 commit comments

Comments
 (0)