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

Adding filter plugin API #26

Closed
frsyuki opened this issue Jan 29, 2015 · 2 comments
Closed

Adding filter plugin API #26

frsyuki opened this issue Jan 29, 2015 · 2 comments
Assignees

Comments

@frsyuki
Copy link
Contributor

frsyuki commented Jan 29, 2015

We want to apply conversion or filtering to records when:

  • hash: applying a hash function to sensitive columns (e.g. account_id, email)
  • grep: skipping a record if it matches certain condition (e.g. skip access logs if they're internal callback requests)
  • convert column type: convert created_at:string column to timestamp
  • skip column: convert comment field to nil if it's too long
  • remove column: remove certain columns (e.g. remove "password" column)
  • join: joining data with other data stores. (e.g. join email, age, and other user information to user_id)
@frsyuki
Copy link
Contributor Author

frsyuki commented Jan 29, 2015

Probably, configuration file is like this:

in:
  type: ...
filters:
  - type: filter_a
    key: value
  - type: filter_b
    key: value
out:
  type: ...

@frsyuki
Copy link
Contributor Author

frsyuki commented Feb 1, 2015

Implemented by #49

@frsyuki frsyuki self-assigned this Feb 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant