-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix group by differential privacy in aggregates #180
Fix group by differential privacy in aggregates #180
Conversation
…rivacy_in_aggregates
…by_differential_privacy_in_aggregates
src/relation/mod.rs
Outdated
@@ -988,6 +988,11 @@ impl Join { | |||
Integer::from_interval(0, max) | |||
} | |||
|
|||
pub fn force_size(mut self, size: Integer) -> Self { | |||
self.size = size; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas possible.
On ne veut pas forcer quoi que ce soit.
Tu peux ajouter un LIMIT si tu veux exprimer que tu sais que la size est < à une grandeur.
src/differential_privacy/group_by.rs
Outdated
|
||
let join_rel: Relation = Relation::join() | ||
// we force the size of the relation to be equal to the `self Relation` | ||
.size(right.size().clone()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non, impossible, tu peux t'en sortir avec une contrainte UNIQUE, non ?
No description provided.