You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ryan Hendrickson (JIRA)" <ji...@apache.org> on 2018/11/15 05:41:00 UTC

[jira] [Created] (NIFI-5821) ExecuteScript should say Python is really Jython running

Ryan Hendrickson created NIFI-5821:
--------------------------------------

             Summary: ExecuteScript should say Python is really Jython running
                 Key: NIFI-5821
                 URL: https://issues.apache.org/jira/browse/NIFI-5821
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.7.1, 1.8.0, 1.7.0, 1.6.0, 1.5.0
            Reporter: Ryan Hendrickson
         Attachments: image-2018-11-15-00-37-05-004.png

Code executed in the ExecuteScript processor, when Python is selected, is actually running as Jython.  This should be made far more clear on the UI as a user is selecting the Script Language.  The only place python is made reference to is in the tags for the processor, which also makes reference to python.

Jython datetime.datetime is not handled the same way that Python datetime.datetime is because of mapping datetime back to Java objects in Jython.  This can cause plenty of issues, and cause Python code to need to be modified to jython supported code.

Additionally, there's probably a series of benefits that can be taken advantage of if you know it's actually jython vs python.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)