Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

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

@n3101

Description

@n3101

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA proposed new feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions