Created 08-11-2016 07:40 PM
It seems that there are processor options for SQL INSERT, UPDATE and SELECT, but what about other commands? CREATE for example?
My understanding is that ExecuteSQL is not intended for this as it expects rows back (description states that it is for SELECT). So, how else would / should I do this (and similar, i.e, generic SQL commands that may not necessarily involve data directly)?
Created 08-12-2016 01:44 PM
The PutSQL processor issues statements and does not expect a ResultSet to be returned, you can use that to issue DDL/DML commands.
Created 08-11-2016 08:30 PM
An option to consider if you want to run other types of DDL is via executeprocess process. Within this processor you can script up the activities not perform OOB with NiFi.
Created 08-12-2016 01:44 PM
The PutSQL processor issues statements and does not expect a ResultSet to be returned, you can use that to issue DDL/DML commands.