[jboss-jira] [JBoss JIRA] (DROOLS-1242) built-in accumulate functions shall ignore NULLs
Mario Fusco (JIRA)
issues at jboss.org
Mon Aug 8 05:15:03 EDT 2016
[ https://issues.jboss.org/browse/DROOLS-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-1242:
-----------------------------------
Assignee: Mario Fusco (was: Matteo Mortari)
> built-in accumulate functions shall ignore NULLs
> ------------------------------------------------
>
> Key: DROOLS-1242
> URL: https://issues.jboss.org/browse/DROOLS-1242
> Project: Drools
> Issue Type: Enhancement
> Components: core engine
> Reporter: Matteo Mortari
> Assignee: Mario Fusco
> Priority: Optional
>
> This is a spin-off out of another problem [here|https://issues.jboss.org/browse/GUVNOR-2589?focusedCommentId=13268928&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13268928] 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list