cube-js / cube-js/cube

Pass list of dimensions into the Postgres function

Open
#10,558 1 comment 0 reactions 1 assignee Claimed by @igorlukanin View on GitHub
question
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

That's just a question in terms of it's generally possible or not.
CubeJs can call Postgres functions without an issue. But is there a way to pass a list of selected measures into the function? I've tried to use queryRewrite and queryTransformer, but they don't help here at all, as I can operate with dimensions/measures only and not with the "sql" parameter of the cube itself.

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.