Data Target Connector Requirements
To export a subgraph as a Data Target Connector, the following conditions need to be met:
-
Subgraph name must be unique within the library; i.e., its name in the graph Properties must not exist in a different subgraph.
-
Subgraph must have exactly 1 input port.
-
Input port metadata is optional. Providing metadata on input port enables mapping in Wrangler. If metadata is specified on input port, it must contain a field called wranglerId of type
long
. This field is used to link your transformation data to errors reported by the target when generating the reject file.
-
Input metadata can only contain fields of types:
string, long, date, boolean,
anddecimal
(length=32, scale=10 only).
-
Subgraph may have 1 output port which will be used as a “reject” port to collect errors raised by the connector itself.
-
If a reject port is used, it must use metadata created from the edge template called ConnectorTarget_Rejects (right-click on your edge and navigate to New Metadata From Template > ConnectorTarget_Rejects). This metadata must not be modified.