Check syntactic errors in Python source string for Java PythonCallableSource object
Open
core
cross-language
improvement
java
P2
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
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.
Imported from Jira [BEAM-14457](https://issues.apache.org/jira/browse/BEAM-14457). Original Jira may contain additional context.
Reported by: heejong.
Contributor guide
Assessment
This issue has not been assessed yet.