Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1612

Throw compilation error when using collect hit policy with aggr. function and multiple outputs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.0.0.Final
    • dmn engine
    • None
    • 2017 Week 24-25
    • NEW
    • NEW

    Description

      According to the DMN spec., "Decision tables with compound outputs support only the following hit policies: Unique, Any, Priority, First, Output
      order, Rule order and Collect without operator, because the collect operator is undefined over multiple outputs."

      However when I use decision table with "COLLECT" hit policy, "sum" aggregate function and multiple outputs, the table compiles. When evaluating the table, I get nulls as output value results, but no error message in DMNResult.

      I will provide a reproducer in a PR.

      Attachments

        Issue Links

          Activity

            People

              etirelli@redhat.com Edson Tirelli
              tzimanyi@redhat.com Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: