fsk119 commented on a change in pull request #15687:
URL: https://github.com/apache/flink/pull/15687#discussion_r619193101



##########
File path: docs/content.zh/release-notes/flink-1.13.md
##########
@@ -0,0 +1,227 @@
+---
+title: "Release Notes - Flink 1.13"
+---
+<!--
+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.
+-->
+
+# Release Notes - Flink 1.13
+
+These release notes discuss important aspects, such as configuration, 
behavior, or dependencies,
+that changed between Flink 1.12 and Flink 1.13. Please read these notes 
carefully if you are
+planning to upgrade your Flink version to 1.13.
+
+### Failover
+
+#### Remove state.backend.async option.
+
+##### [FLINK-21935](https://issues.apache.org/jira/browse/FLINK-21935)
+
+The `state.backend.async` option is deprecated. Snapshots are always 
asynchronous now (as they were
+by default before) and there is no option to configure a synchronous snapshot 
any more.
+
+The constructors of `FsStateBackend` and `MemoryStateBackend` that take a flag 
for sync/async
+snapshots are kept for API compatibility, but the flags are ignored now.
+
+#### Unify binary format for Keyed State savepoints
+
+##### [FLINK-20976](https://issues.apache.org/jira/browse/FLINK-20976)
+
+Flink’s savepoint binary format is unified across all state backends. That 
means you can take a
+savepoint with one state backend and then restore it using another.
+
+If you want to switch the state backend you should first upgrade your Flink 
version to 1.13, then
+take a savepoint with the new version, and only after that, you can restore it 
with a different
+state backend.
+
+#### FailureRateRestartBackoffTimeStrategy allows one less restart than 
configured
+
+##### [FLINK-20752](https://issues.apache.org/jira/browse/FLINK-20752)
+
+The Failure Rate Restart Strategy was allowing 1 less restart per interval 
than configured. Users
+wishing to keep the current behavior should reduce the maximum number of 
allowed failures per
+interval by 1.
+
+#### Support rescaling for Unaligned Checkpoints
+
+##### [FLINK-17979](https://issues.apache.org/jira/browse/FLINK-17979)
+
+While recovering from unaligned checkpoints, users can now change the 
parallelism of the job. This
+change allows users to quickly upscale the job under backpressure.
+
+### SQL
+
+#### Officially deprecate the legacy planner
+
+##### [FLINK-21709](https://issues.apache.org/jira/browse/FLINK-21709)
+
+The old planner of the Table & SQL API is deprecated and will be dropped in 
Flink 1.14. This means
+that both the BatchTableEnvironment and DataSet API interop are reaching end 
of life. Use the
+unified TableEnvironment for batch and stream processing with the new planner, 
or the DataStream API
+in batch execution mode.
+
+#### Disable problematic cast conversion between NUMERIC type and TIMESTAMP 
type
+
+##### [FLINK-21698](https://issues.apache.org/jira/browse/FLINK-21698)
+
+The CAST operation between `NUMERIC` type and `TIMESTAMP` type is problematic 
and is disabled now,
+e.g.
+`CAST(numeric AS TIMESTAMP(3))` is disabled and should use 
`TO_TIMESTAMP(FROM_UNIXTIME(numeric))`
+instead.
+

Review comment:
       ```suggestion
   #### Support start SQL Client with an initialization SQL file
   
   ##### [FLINK-20320](https://issues.apache.org/jira/browse/FLINK-20320)
   
   The `sql-client-defaults.yaml` YAML file is deprecated and not provided in 
the release package. To be compatible, it's still supported to initialize the 
SQL Client with the YAML file if manually provided. But it's recommend to use 
the new introduced `-i` startup option to execute an initialization SQL file to 
setup the SQL Client session. The so-called initialization SQL file can use 
Flink DDLs to define available catalogs, table sources and sinks, user-defined 
functions, and other properties required for execution and deployment. The 
support of legacy SQL Client YAML file will be totally dropped in Flink 1.14.
   ```
   
   would be better if we can add these incompatibility note here.




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


Reply via email to