DMN 1.2 RTF Avatar
  1. OMG Issue

DMN12 — Please clarify what is the result of a filter with non-boolean expressions (null)

  • Key: DMN12-262
  • Status: closed   Implementation work Blocked
  • Source: Red Hat ( Edson Tirelli)
  • Summary:

    Example: a relation "people" with the following content:

    people : [

    { name : "Bob", age : 30 }

    ,

    {name : "Max", age : null }

    ]

    What is the result of an expression like the following:

    people[ age > 20 ]

    The filter will obviously evaluate to true for the first person "Bob", but the for second person, age is null, and the expression `age > null` will also return null.

    What is the result of the expression?

    a. [

    { name: "Bob", age : 30 }

    ]
    b. null
    c. some other value?

    Please clarify explicitly in the spec what is the result of a filter which might evaluate to null for some elements, like the above example.

  • Reported: DMN 1.1 — Thu, 15 Mar 2018 00:02 GMT
  • Disposition: Resolved — DMN 1.2
  • Disposition Summary:

    add example of null filter

    see revised text

  • Updated: Wed, 3 Oct 2018 14:17 GMT