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

Add flag logical dimensions backed by tag physical dimension support to Fili #893

Open
michael-mclawhorn opened this issue Apr 23, 2019 · 0 comments

Comments

@michael-mclawhorn
Copy link
Contributor

It would be convenient to have a way to use a druid multivalue as a boolean tag.

One way this has been implemented is by having two dimension columns, one a comma delimited list of values, one a multivalue druid dimension.

As an implementation strategy we should have a TagDimension which has references to both the multivalue and the string versions of the dimension. Grouping can be accomplished by using extraction functions to turn the string version into 'Yes' and 'No' values based on the flag presence.

Filtering, for efficiency, should be based on the multivalue dimension. This will require a Tag Dimension Aware ApiFilter generator. It should transform

flagDimension|key-eq[Yes] into tagDimension|multiValueColumn-eq[tagValue]

@michael-mclawhorn michael-mclawhorn changed the title Add tag dimension support to Fili Add flag logical dimensions backed by tag physical dimension support to Fili Apr 25, 2019
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

1 participant