WeiZhong94 opened a new pull request #8681: [FLINK-12585][python] Align Stream/BatchTableEnvironment with JAVA Table API URL: https://github.com/apache/flink/pull/8681 ## What is the purpose of the change This pull request add `StreamExecutionEnvironment` and `ExecutionEnvironment` for Python Table API so that the usage of Python Table API can align with Java Table API. All APIs used for configuration in `StreamExecutionEnvironment` and `ExecutionEnvironment` have been added. The transitive dependent classes are involved to Python API too, which contains: `ExecutionConfig`, `CheckpointConfig`, `ExternalizedCheckpointCleanup`, `CheckpointingMode`, `ExecutionMode`, `InputDependencyConstraint`, `RestartStrategies`, `StateBackend`, `MemoryStateBackend`, `FsStateBackend`, `RocksDBStateBackend`, `CustomStateBackend`, `PredefinedOptions` and `TimeCharacteristic`. ## Brief change log - *Add `StreamExecutionEnvironment` and `ExecutionEnvironment`.* - *Move execute() method from TableEnvironment to ExecutionEnvironment/StreamExecutionEnvironment.* - *Refactor TableConfig align to Java TableConfig.* - *Add `ExecutionConfig` and relevant APIs.* - *Add `CheckpointConfig` and relevant APIs.* - *Add `StateBackend` and relevant APIs.* ## Verifying this change This change added integration tests in `test_execution_environment.py`, `test_stream_execution_environment.py`, `test_execution_config.py`, `test_check_point_config.py`, `test_state_backend.py`. ## 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, 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? (python docs)
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services