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

Enable range index for JoinNode

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.50.0.Final
    • 7.47.0.Final
    • core engine
    • None
    • 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25)
    • 4
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

    Description

      Currently, BetaNode range index works only for NotNode and ExistsNode. Inequality constraints in JoinNode (e.g. $p2 : Person( age > $p1.age )) are not indexed in both standard-drl and exec-model.

      https://github.com/kiegroup/drools/blob/master/drools-core/src/main/java/org/drools/core/util/index/IndexUtil.java#L71-L73

      • Enable range index for JoinNode
      • Fix issues based on failed tests
        • Type coercion
        • executable-model specific errors
        • maybe more
      • Add more tests for join
      • Add benchmark to confirm the effect

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: