Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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.