cube-js / cube-js/cube

Support for ts_query on postgressql

Open
#3,225 2 comments 4 reactions 0 assignees View on GitHub
driver:postgres help wanted
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

**Is your feature request related to a problem? Please describe.**
The list of available filters does not include postgresql full text search.

**Describe the solution you'd like**
Add a filter option called tsQuery to BaseFilter.js:

`tsQueryWhere(column) {
return `${column} @@ to_tsquery(${this.firstParameter()})`;
}`

add the option to operators in query.js
`const operators = [
'equals',
'notEquals',
'contains',
'notContains',
'in',
'notIn',
'gt',
'gte',
'lt',
'lte',
'tsQuery',
'set',
'notSet',
'inDateRange',
'notInDateRange',
'onTheDate',
'beforeDate',
'afterDate',
'measureFilter',
];`

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.