Operator When

Operator When in contrib-joins

Issue #1060