hequn8128 opened a new pull request #11420: [FLINK-16565][python][ml] Make Pipeline Json compitable between Java and Python if all PipelineStages are Java ones URL: https://github.com/apache/flink/pull/11420 ## What is the purpose of the change Make Pipeline Json compitable between Java and Python if all PipelineStages are Java ones. ## Brief change log - In `Pipeline.load_json()`, also try to load json with Java method if can't load json with Python method. - In `Pipeline.to_json()`, returns a Java json string if all PipelineStages in this Pipeline are Java ones. ## Verifying this change This change added tests and can be verified as follows: - Added integration test(`test_pipeline_from_and_to_java_json`) for testing load_json and to_json ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (yes) - If yes, how is the feature documented? (PythonDocs)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
