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

Fix group by differential privacy in aggregates #180

Merged
merged 20 commits into from
Nov 13, 2023

Conversation

vserret
Copy link
Contributor

@vserret vserret commented Nov 13, 2023

No description provided.

@@ -988,6 +988,11 @@ impl Join {
Integer::from_interval(0, max)
}

pub fn force_size(mut self, size: Integer) -> Self {
self.size = size;
Copy link
Contributor

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.


let join_rel: Relation = Relation::join()
// we force the size of the relation to be equal to the `self Relation`
.size(right.size().clone())
Copy link
Contributor

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 ?

@ngrislain ngrislain merged commit e5a076c into main Nov 13, 2023
1 check passed
@ngrislain ngrislain deleted the fix_group_by_differential_privacy_in_aggregates branch November 13, 2023 14:59
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