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

outputSchema plugin-function expects input schema to be present

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Pipelines, UI
    • Labels:
      None
    • Release Notes:
      Fix bug where outputSchema plugin function expects an input schema to be present
    • Rank:
      1|hzzp93:

      Description

      outputSchema plugin function is expecting an input schema.

      if (!fnConfig['multiple-inputs'] || fnConfig['multiple-inputs'] === 'false') {
                        var firstNode = nodeInfo.inputSchema[0];
      ...
      

      It should not assume input schema to be present. This plugin function will fail when being used in a source plugin.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                edwin Edwin Elia
                Reporter:
                edwin Edwin Elia
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: