Ignore Unmatched Fields - (the default) The Connector ignores any field in the FlowFile record
that cannot be mapped to a column in the Greenplum table.
Fail on Unmatched Fields - The Connector routes the FlowFile to the failure relationship when
the record has any field that cannot be mapped to a column in the table.
Reference Parameter
If an incoming FlowFile record does not have a field mapping for every one of the columns in the Greenplum
table, set the Unmatched Column Behavior property to specify how the Connector should handle the
situation:
Ignore Unmatched Columns - The Connector assumes that a column in the table that does not
have a matching field in the record is not required.
Warn on Unmatched Columns - The Connector assumes that a column in the table that does not
have a matching field in the record is not required, and the Connector logs a warning.
Fail on Unmatched Columns - (the default) A flow fails when a column exists in the table and
there is no matching field in the record. The Connector also logs an error.
Reference Parameter
Specifying Failure Rollback Behavior
The Connector distinguishes between the transient and the non-recoverable errors that it encounters.
Transient errors are those that may succeed on a later retry, such as a connection attempt to Greenplum
Database. Conversely, a FlowFile that contained bad input data would continue to fail when retried.
The Connector applies success or failure at the FlowFile level. That is, the Connector considers a write
operation successful if all records in a single FlowFile are written to the Greenplum Database table with no
errors. If a single record in the FlowFile fails to write for some reason (say the data is malformed), none of
the records in the FlowFile are written to Greenplum, and the Connector considers the operation failed.
Rollback On Failure is a boolean property that specifies whether or not the Connector rolls back the NiFi
session when it encounters a failure processing a FlowFile.
The default Rollback On Failure setting is false. When the Connector encounters an error while
processing a FlowFile, the FlowFile is routed to the failure or retry relationship based on the error type,
and the processor continues processing the next FlowFile.
When Rollback On Failure is true, the Connector:
Stops further processing a FlowFile when it encounters an error,
Rolls back the NiFi session; this penalizes the FlowFile and returns it to the incoming queue, and
Continues processing the next FlowFile.
The rolled back FlowFile may be processed repeatedly by the Connector until it is processed successfully
or removed by other means.
Be sure to set an adequate SETTINGS Yield Duration for the processor to avoid retrying too frequently.
Choosing a Maximum Record Batch Size
For each FlowFile it receives, the Connector: