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

Transform stage should have access to datasets in initialize()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0
    • Component/s: Applications
    • Labels:
      None
    • Rank:
      1|hzysnz:

      Description

      Use cases for this are:

      • A profanity filter needs to read a list of offensive words/phrases from a file (in a Dataset) when it starts.
      • A machine-learned classifier needs to load its model from a file

      Right now, I only see a need for this in initialize(), whereas the transform itself is a pure function of the data it receives.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gokul Gokul Gunasekaran
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: