]
Toshiya Kobayashi updated DROOLS-5698:
--------------------------------------
Sprint: 2020 Week 40-42 (from Sep 28)
Set index for DMN ExecModel constraints
---------------------------------------
Key: DROOLS-5698
URL:
https://issues.redhat.com/browse/DROOLS-5698
Project: Drools
Issue Type: Enhancement
Components: dmn engine, executable model
Affects Versions: 7.44.0.Final
Reporter: Toshiya Kobayashi
Assignee: Toshiya Kobayashi
Priority: Major
When we enable execmodel on DMN, AlphaNodes are created for decision table cells. But its
LambdaConstraint.ConstraintEvaluator.SingleConstraint2<A,B>.index is null so
IndexUtil.ConstraintType is UNKNOWN. It cannot get benefit from AlphaNode index
(hash/range).
FYI) Test case (but need to use a debugger to confirm that index = null)
https://github.com/tkobayas/drools/commit/60bb21cf2de4b92db9b9b54fc36436a...