Skip to content

Check syntactic errors in Python source string for Java PythonCallableSource object #21568

@damccorm

Description

@damccorm

We would like to have correctness checks for Python source strings when we construct PythonCallableSource object in Java SDK.

We might launch Python subprocess in PythonCallableSource.of method and call eval function to easily check syntactic correctness. Python parser module from Jython library could also be helpful.

Imported from Jira BEAM-14457. Original Jira may contain additional context.
Reported by: heejong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions