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

Add Predicates to compare sets (or keys of a map) with a collection #219

Open
n3101 opened this issue Apr 27, 2021 · 0 comments
Open

Add Predicates to compare sets (or keys of a map) with a collection #219

n3101 opened this issue Apr 27, 2021 · 0 comments
Labels
feature A proposed new feature
Milestone

Comments

@n3101
Copy link

n3101 commented Apr 27, 2021

We want to compare sets (or keys of a map) with a collection in the predicate and return true/false based on the type of overlap.

  1. Seen In/Has Intersection?
    Data | Search | Result
    -- | -- | --
    X,Y,Z | X,Y | True
    X,Y,Z | X,B | True
    X,Y,Z | B,C | False

  2. Seen Outside/Has Difference?
    Data | Search | Result
    -- | -- | --
    X,Y,Z | X,Y | True
    X,Y,Z | X,Y,Z | False
    X,Y,Z | B,C | True

  3. Always seen outside, Has No Intersection?
    This is just the NOT of has intersection I think.

Data Search Result
X,Y,Z X,Y False
X,Y,Z X,B False
X,Y,Z B,C True
@n3101 n3101 added this to the v2_backlog milestone Aug 25, 2021
@GCHQDeveloper314 GCHQDeveloper314 added the feature A proposed new feature label Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A proposed new feature
Projects
None yet
Development

No branches or pull requests

2 participants