Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14457

Check syntactic errors in Python source string for Java PythonCallableSource object

Details

    • Improvement
    • Status: Open
    • P2
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            heejong Heejong Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: