Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: Docs, ETL
    • Labels:
    • Rank:
      1|hzz41r:

      Description

      In script transformations (script, scriptfilter, validator), we expose a ScriptContext object (context) to the transform function that the user defines:

      function transform(input, context);
      

      The ScriptContext exposes the following methods:

      public Logger getLogger();
      public StageMetrics getMetrics();
      public ScriptLookup getLookup(String table);
      

      where

      and ScriptContext.getLookup(String table) only supports key-value tables at the moment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                John John Jackson
                Reporter:
                alvin Alvin Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: