WencongLiu commented on code in PR #23362:
URL: https://github.com/apache/flink/pull/23362#discussion_r1378413003


##########
docs/content/docs/dev/datastream/dataset_migration.md:
##########
@@ -0,0 +1,778 @@
+---
+title: "How to Migrate from DataSet to DataStream"
+weight: 302
+type: docs
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# How to Migrate from DataSet to DataStream
+
+The DataSet API has been formally deprecated and will no longer receive active 
maintenance and support. It will be removed in the
+Flink 2.0 version. Flink users are recommended to migrate from the DataSet API 
to the DataStream API, Table API and SQL for their 
+data processing requirements.
+
+To build the same data processing application, the DataSet APIs can be divided 
into four categories when migrating them to 
+DataStream APIs.
+
+Category 1: These DataSet APIs can be migrated to DataStream APIs with same 
semantic and same processing behavior.
+
+Category 2: These DataSet APIs can be migrated to DataStream APIs with 
different semantic but same processing behavior. This will 
+make the job code more complex.
+
+Category 3: These DataSet APIs can be migrated to DataStream APIs with 
different semantic and different processing behavior. This 
+will involve additional computation and I/O costs.

Review Comment:
   I have replaced the original text with this sentence.



##########
docs/content/docs/dev/datastream/dataset_migration.md:
##########
@@ -0,0 +1,778 @@
+---
+title: "How to Migrate from DataSet to DataStream"
+weight: 302
+type: docs
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# How to Migrate from DataSet to DataStream
+
+The DataSet API has been formally deprecated and will no longer receive active 
maintenance and support. It will be removed in the
+Flink 2.0 version. Flink users are recommended to migrate from the DataSet API 
to the DataStream API, Table API and SQL for their 
+data processing requirements.
+
+To build the same data processing application, the DataSet APIs can be divided 
into four categories when migrating them to 
+DataStream APIs.
+
+Category 1: These DataSet APIs can be migrated to DataStream APIs with same 
semantic and same processing behavior.
+
+Category 2: These DataSet APIs can be migrated to DataStream APIs with 
different semantic but same processing behavior. This will 
+make the job code more complex.
+
+Category 3: These DataSet APIs can be migrated to DataStream APIs with 
different semantic and different processing behavior. This 
+will involve additional computation and I/O costs.
+
+Category 4: These DataSet APIs are not supported by DataStream APIs.

Review Comment:
   I have replaced the original text with this sentence.



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