1996fanrui commented on code in PR #21840:
URL: https://github.com/apache/flink/pull/21840#discussion_r1101113026


##########
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java:
##########
@@ -541,10 +549,12 @@ public ExecutionConfig setExecutionRetryDelay(long 
executionRetryDelay) {
      * Sets the execution mode to execute the program. The execution mode 
defines whether data
      * exchanges are performed in a batch or on a pipelined manner.
      *
-     * <p>The default execution mode is {@link ExecutionMode#PIPELINED}.
-     *
+     * @deprecated This configuration is used in the deprecated DataSet API. 
The {@link
+     *     ExecutionConfig#setJobType(String)} sets execution runtime mode of 
job
+     *     <p>The default execution mode is {@link ExecutionMode#PIPELINED}.
      * @param executionMode The execution mode to use.
      */
+    @Deprecated

Review Comment:
   Add the `@Deprecated` for EXECUTION_MODE  should be a separate commit.
   
   You can take a look the `3. Separate Refactoring, Cleanup and Independent 
Changes` part of `Code Style and Quality Guide`[1].
   
   [1] 
https://flink.apache.org/contributing/code-style-and-quality-pull-requests.html#separate-refactoring-cleanup-and-independent-changes



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to