In the Jython processor called by NiFi for some reason the class datetime (http://www.jython.org/docs/library/datetime.html) is replaced with a call for java.sql.Timestamp, resulting in the following error when trying to use a script handling dates:
Is that on purpose? Or is it a bug?
Note: I've found out that this behaviour exists only when using ExecuteScript. It's absent when using InvokeScriptedProcessor.