Configure your target processor
In a dataflow pushing data to a Snowflake database table, configure PutDatabaseRecord to move data into the Snowflake database table. To do this, launch the processor configuration window and provide the configurations appropriate for your use case.
Configure PutDatabaseRecord Processor. See Related Information for full details on this Apache NiFi Processor.
- Right-click PutDatabaseRecord and click Configure Processor.
- In the Record Reader field, specify the CSV Reader Controller Service you created in the earlier step.
-
In the Statement Type field, select
INSERT
to insert data into the remote database table. - In the Database Connection Pooling Service field, select the DBCP Connection Pool Controller Service you created previously.
-
In the Table Name field, specify the name of your remote
Snowflake database table. In this example, it is
NIFITEST
- (Optional) Depending on your requirements, you may want to auto-terminate the success relationship of the Processor, and have a self connecting loop for the failure relationship.
Once you have configured your target processor, proceed to confirming your dataflow success.