You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ro...@apache.org on 2025/07/31 05:59:08 UTC

(flink-web) 01/02: [hotfix] Fix 2.1 announcement page via align markdown header

This is an automated email from the ASF dual-hosted git repository.

ron pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git

commit f7d935eeed5b684f38fe3e72273807fab0515379
Author: Leonard Xu <xb...@gmail.com>
AuthorDate: Thu Jul 31 13:46:50 2025 +0800

    [hotfix] Fix 2.1 announcement page via align markdown header
---
 docs/content/posts/2025-07-31-release-2.1.0.md | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/docs/content/posts/2025-07-31-release-2.1.0.md b/docs/content/posts/2025-07-31-release-2.1.0.md
index 70f332ead..ee56dab2d 100644
--- a/docs/content/posts/2025-07-31-release-2.1.0.md
+++ b/docs/content/posts/2025-07-31-release-2.1.0.md
@@ -1,14 +1,13 @@
 ---
-authors:
-  - Ron:
-    name: "Ron Liu"
-    twitter: "Ron999"
-
-date: "2025-07-31T08:00:00Z"
-subtitle: ""
 title: "Apache Flink 2.1.0: Ushers in a New Era of Unified Real-Time Data + AI with Comprehensive Upgrades"
+date: "2025-07-31T00:00:00.000Z"
 aliases:
-  - /news/2025/07/31/release-2.1.0.html
+- /news/2025/07/31/release-2.1.0.html
+authors:
+- Ron:
+  name: "Ron Liu"
+  twitter: "Ron999"
+
 ---
 
 The Apache Flink PMC is proud to announce the release of Apache Flink 2.1.0. This marks a significant milestone 
@@ -49,6 +48,7 @@ integration within Flink applications.
 
 Example: 
 - Defining a Model via Flink SQL
+
 ```sql
 CREATE MODEL my_model
 INPUT (f0 STRING)
@@ -63,6 +63,7 @@ WITH (
 ```
 
 - Defining a Model via Table API (Java)
+
 ```java
 tEnv.createModel(
     "MyModel", 
@@ -158,6 +159,7 @@ This moves Flink SQL significantly closer to the DataStream API, leveraging the
 Detailed information on PTF syntax and semantics can be found here: [Process Table Functions](https://nightlies.apache.org/flink/flink-docs-release-2.1/docs/dev/table/functions/ptfs/).
 
 Take the following code as an example:
+
 ```java
 // Declare a ProcessTableFunction for memorizing your customers
 public static class GreetingWithMemory extends ProcessTableFunction<String> {