Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13137

Wrangler expression evaluation should support runtime arguments

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.3.4
    • Component/s: None
    • Labels:
    • Rank:
      1|i00azz:

      Description

      The expression evaluation (EL) within wrangler currently does not support the inclusion of runtime arguments within expressions.

      For few use-cases, having the ability to pass arguments through runtime for variables within expression makes sense. As an example

      send-to-error-and-continue exp:{body.length() != 2} body 'Required 2 columns'.
      

      The hard-coded value 2 could be configured as runtime argument making it generic from the evaluation perspective.

        Attachments

          Activity

            People

            • Assignee:
              nitin Nitin Motgi
              Reporter:
              nitin Nitin Motgi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: