]
Edson Tirelli commented on DROOLS-1612:
---------------------------------------
[~tzimanyi] , I will look into it. When first implemented, we wanted to support
aggregation even for multiple output columns (as an extension to the standard), as long as
all columns are of the appropriate type. I will look at the problem you reported and
improve error handling.
Throw compilation error when using collect hit policy with aggr.
function and multiple outputs
----------------------------------------------------------------------------------------------
Key: DROOLS-1612
URL:
https://issues.jboss.org/browse/DROOLS-1612
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.0.0.Final
Reporter: Tibor Zimányi
Assignee: Edson Tirelli
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.