cube-js / cube-js/cube

Custom Operators for Filters

Open
#7,143 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

We cannot use filtering expressions beyond the predefined ones from cube (equals, contains, etc)

We want to be able to filter based on "ancestor of", as we are querying on a table that utilizes postgres' [ltree functionality](https://www.postgresql.org/docs/current/ltree.html). This operator can be represented as ' @>'. Or, even better would be the ability to use any custom operator.

We need to pass dynamic parameters to our queries, which is why we are unable to use segments instead of filters.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.