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

built-in accumulate functions shall ignore NULLs

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.Beta2
    • Component/s: core engine
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      This is a spin-off out of another problem here for a proposal of improvement.

      It could actually be beneficial for built-in accumulate functions to ignore NULLs.

      This would be similar behavior of other languages such:

      • SQL (e.g.: MySQL, Oracle, ..)
      • Clojure

      Currently it is up to the rule author to put a guarding condition in the first accumulate <source pattern> to manually ignore null sources to avoid the built-in accumulate functions to break trying to accumulate on NULLs.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                tari_manga Matteo Mortari
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: