Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Variables in Aggregation and Dimension #91

Open
Murthy7587 opened this issue Jun 8, 2021 · 1 comment
Open

Using Variables in Aggregation and Dimension #91

Murthy7587 opened this issue Jun 8, 2021 · 1 comment

Comments

@Murthy7587
Copy link

Murthy7587 commented Jun 8, 2021

Hi,

Is there a way currently we can define variables for creating multiple aggregations and dimension. Based on the variables selected need to build multiple aggregation and dimensions. Tried using "${Variable:druid:json}" but it doesnt add multiple aggregations nor dimensions. This is for query builder. Please let me know of there are any work around for this.

Regards,
Akhilesh

@jbguerraz
Copy link
Contributor

Hello @Murthy7587
I believe ${Variable:druid:json} would work for columns attribute of a scan query for instance (Variable being a multiple variable). To repeat an aggregation based on a multiple variable.. we have to figure out an UX for that. Do you have any idea in mind ? would you will to contribute it ?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants