UpdateDatabaseTable 2.0.0

Bundle
org.apache.nifi | nifi-standard-nar
Description
This processor uses a JDBC connection and incoming records to generate any database table changes needed to support the incoming records. It expects a 'flat' record layout, meaning none of the top-level record fields has nested fields that are intended to become columns themselves.
Tags
alter, database, jdbc, metadata, table, update
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Relationships
Name Description
failure A FlowFile containing records routed to this relationship if the record could not be transmitted to the database.
success A FlowFile containing records routed to this relationship after the record has been successfully transmitted to the database.
Writes Attributes
Name Description
output.table This attribute is written on the flow files routed to the 'success' and 'failure' relationships, and contains the target table name.
output.path This attribute is written on the flow files routed to the 'success' and 'failure' relationships, and contains the path on the file system to the table (or partition location if the table is partitioned).
mime.type Sets the mime.type attribute to the MIME Type specified by the Record Writer, only if a Record Writer is specified and Update Field Names is 'true'.
record.count Sets the number of records in the FlowFile, only if a Record Writer is specified and Update Field Names is 'true'.