Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Started changes to existing plugins table

...

Code Block
{
  "stages": [
    {
      "name": "customers",
      "plugin": {
        "name": "File",
        "type": "batchsource",
        "properties": {
          "path": "hdfs://host:port/${inputpath}" // ${inputpath} will get replaced with the value of the 'customers.inputpath' runtime argument
        }
      }
    },
    {
      "name": "items",
      "plugin": {
        "name": "File",
        "type": "batchsource",
        "properties": {
          "path": "hdfs://host:port/${inputpath}" // ${inputpath} will get replaced with the value of the 'items.inputpath' runtime argument
        }
      }
    }
  ]
}

Changes to Existing Plugins (WIP)

Many plugins have fields (configurable properties) that are used in constructing a schema at configure time. These fields need to have macros disabled. The following plugins would be affected:

PluginFieldsNotes
BatchCassandraSourceschemaThe schema is parsed for correctness.
RealtimeCassandraSinkaddressesAddresses are parsed at configure time. Parsing a macro would fail.
CopybookSourcecopybookContents

Copybook contents are converted to an InputStream and used to get external records, which are in turn used to add fields to the schema.

DedupAggregatoruniqueFields, filterOperationBoth fields are used to validate the input schema created

 

 


Setting Hydrator runtime arguments using CDAP runtime arguments/preferences

...