koryphe icon indicating copy to clipboard operation
koryphe copied to clipboard

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

Open n3101 opened this issue 3 years ago • 0 comments

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 avatar Apr 27 '21 16:04 n3101