Support Questions
Find answers, ask questions, and share your expertise

NiFi replacing 'datetime' class with a java class

New Contributor

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:

99471-nifierror.png

Is that on purpose? Or is it a bug?

99470-nifierror.png

1 REPLY 1

New Contributor

Note: I've found out that this behaviour exists only when using ExecuteScript. It's absent when using InvokeScriptedProcessor.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.