You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/11/17 14:37:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-5821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann reassigned NIFI-5821:
--------------------------------------

    Assignee: David Handermann

> 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.5.0, 1.6.0, 1.7.0, 1.8.0, 1.7.1
>            Reporter: Ryan Hendrickson
>            Assignee: David Handermann
>            Priority: Major
>         Attachments: image-2018-11-15-00-37-05-004.png
>
>
> ExecuteScript drop-down should say "jython" or "Python (jython)" ... Something to indicate it is running jython.
> 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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)