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

Reject unsupported aggregates during anon query validation #14

Closed
edongashi opened this issue Feb 9, 2021 · 2 comments · Fixed by #70
Closed

Reject unsupported aggregates during anon query validation #14

edongashi opened this issue Feb 9, 2021 · 2 comments · Fixed by #70
Assignees

Comments

@edongashi
Copy link
Member

edongashi commented Feb 9, 2021

verify_anonymization_requirements in validation.c must be extended to check for currently unsupported aggregates such as SUM, MAX, etc. I think whitelisting is better than blacklisting.

To know which aggregates to allow we can check OidCache.postgres.

@cristianberneanu cristianberneanu self-assigned this Mar 5, 2021
@edongashi
Copy link
Member Author

@cristianberneanu
Copy link
Collaborator

I think it will be better in the long term to keep query validation, analysis and modification separate.
That way, we'll always have a well understood starting point when we reach the anonymization stage.

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 a pull request may close this issue.

2 participants