diffix / reference

Reference implementation for the Open Diffix anonymization mechanism.
https://www.open-diffix.org
Other
3 stars 0 forks source link

Support *-bucket and LED hooks in CLI #336

Closed pdobacz closed 2 years ago

pdobacz commented 2 years ago

You should be able to use https://github.com/diffix/desktop/blob/master/anonymizer/OpenDiffix.Service/Program.fs#L179-L181 and neighboring code as a template.

Optionally provide a toggle to switch -bucket on and off and an option to customize the `` character.

NOTE using the -bucket hook requires `count()` to be present in the query. Think about the defaults and documentation in this context

NOTE 2 global aggregation is also slightly problematic SELECT count(*) FROM customers ; fails with Cannot find required DiffixLowCount aggregator, because lcf is not injected.