You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2017/02/21 20:53:44 UTC

[jira] [Created] (METRON-732) When an error happens in an composed function in stellar, the real exception is not bubbled up

Casey Stella created METRON-732:
-----------------------------------

             Summary: When an error happens in an composed function in stellar, the real exception is not bubbled up
                 Key: METRON-732
                 URL: https://issues.apache.org/jira/browse/METRON-732
             Project: Metron
          Issue Type: Bug
            Reporter: Casey Stella


If you have a function which throws an exception and it is an inner function of a composition, then the exception isn't bubbled up.  

For instance, if {{PROFILE_WINDOW}} throws an exception in the following:
{{STATS_MEAN(STATS_MERGE(PROFILE_GET('stat', 'global', PROFILE_WINDOW('5 minute window starting ago'))))}}

We will get 
{{org.apache.metron.common.dsl.ParseException: Unable to execute: expected at least 3 argument(s), found 2}}

Rather than the actual exception thrown from PROFILE_WINDOW



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)