Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Addresses are parsed at configure time. Parsing a
PluginFieldsNotesUseConflict
BatchCassandraSourceschemaThe schema is parsed Parsed for correctness to create the schema.RealtimeCassandraSinkaddressesParsing a macro or schema with a nested 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.

Schema would add macro literal as a field.
DedupAggregatoruniqueFields, filterOperationBoth fields are used to validate the input schema created.Macro literals do not exist as fields in schema and will throw IllegalArgumentException
DistinctAggregatorfieldsUsed to specify the fields used to construct the output schema.Will add macro literals as schema fields.*
GroupByAggregatorgroupByFields, aggregates,  

* May need verification


Other plugins have fields that are validated/processed at configure time that do not affect the schema. In these cases, these can be moved to initialization time. The following plugins and fields would be affected:

PluginFieldsUse
   

* May need verification


Setting Hydrator runtime arguments using CDAP runtime arguments/preferences

...