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

Implement Filtered DimensionSpecs #127

Merged
merged 3 commits into from
Apr 13, 2018

Conversation

jeffreythewang
Copy link
Contributor

@jeffreythewang jeffreythewang commented Apr 9, 2018

Added support for Filtered DimensionSpecs as described here. Here is an example of how it is used for multi-value dimensions.

@jeffreythewang jeffreythewang reopened this Apr 9, 2018
Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment otherwise on using trailing commas, otherwise LGTM.

We need to setup flake8 on travis to lint/fail if there's lint on this repo.

def build(self, delegate):
dimension_spec = {
'type': self.filter_type,
'delegate': delegate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: let's have trailing commas

@jeffreythewang
Copy link
Contributor Author

Yeah. Agreed on linter setup.

@mistercrunch
Copy link
Member

Oh I almost forgot. Druid requires you fill in this form http://druid.io/community/cla.html.

@jeffreythewang
Copy link
Contributor Author

Done

@mistercrunch mistercrunch merged commit 3850990 into druid-io:master Apr 13, 2018
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

Successfully merging this pull request may close these issues.

2 participants