ruanhang1993 commented on code in PR #27235:
URL: https://github.com/apache/flink/pull/27235#discussion_r2533096103


##########
docs/content.zh/release-notes/flink-2.2.md:
##########
@@ -0,0 +1,140 @@
+---
+title: "Release Notes - Flink 2.2"
+---
+
+<!--
+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 2.2
+
+These release notes discuss important aspects, such as configuration, behavior 
or dependencies,
+that changed between Flink 2.1 and Flink 2.2. Please read these notes 
carefully if you are
+planning to upgrade your Flink version to 2.2.
+
+### Table SQL / API
+
+#### Support VECTOR_SEARCH in Flink SQL
+
+##### [FLINK-38422](https://issues.apache.org/jira/browse/FLINK-38422)
+
+Apache Flink has initially integrated Large Language Model (LLM) capabilities, 
enabling semantic
+understanding and real-time processing of streaming data pipelines. This 
integration has been
+technically validated in scenarios such as log classification and real-time 
question-answering
+systems. However, the current architecture allows Flink to only use embedding 
models to convert
+unstructured data (e.g., text, images) into high-dimensional vector features, 
which are then
+persisted to downstream storage systems. It lacks real-time online querying 
and similarity analysis
+capabilities for vector spaces. The VECTOR_SEARCH function is provided in 
Flink 2.2 to enable users
+to perform streaming vector similarity searches and real-time context retrieval
+(e.g., Retrieval-Augmented Generation, RAG) directly within Flink.
+
+See more details about the capabilities and usages of
+Flink's [Vector 
Search](https://nightlies.apache.org/flink/flink-docs-release-2.2/docs/dev/table/sql/queries/vector-search/).
+
+#### Realtime AI Function
+
+##### [FLINK-38104](https://issues.apache.org/jira/browse/FLINK-38104)
+
+Flink already expanded the `ML_PREDICT` table-valued function (TVF) to perform
+realtime model inference in SQL queries, applying machine learning models to 
data streams
+seamlessly. In Flink 2.2, we provide the table api for model related functions:
+ML_PREDICT and ML_EVALUATE.
+
+#### Materialized Table
+
+##### [FLINK-38532](https://issues.apache.org/jira/browse/FLINK-38532), 
[FLINK-38311](https://issues.apache.org/jira/browse/FLINK-38311)
+
+Materialized Table is a new table type introduced in Flink SQL, aimed at 
simplifying both batch and
+stream data pipelines, providing a consistent development experience. By 
specifying data freshness
+and query when creating Materialized Table, the engine automatically derives 
the schema for the
+materialized table and creates corresponding data refresh pipeline to achieve 
the specified freshness.
+
+From Flink 2.2, the FRESHNESS clause is not a mandatory part of the CREATE 
MATERIALIZED TABLE and
+CREATE OR ALTER MATERIALIZED TABLE DDL statements. Flink 2.2 introduces a new 
MaterializedTableEnricher
+interface. This provides a formal extension point for customizable default 
logic, allowing advanced
+users and vendors to implement "smart" default behaviors (e.g., inferring 
freshness from upstream tables).
+
+Besides this, users can use `DISTRIBUTED INTO` or`DISTRIBUTED INTO` to support 
bucketing concept
+for Materialized tables. And users can use `SHOW MATERIALIZED TABLES` to show 
all Materialized tables.
+
+#### SinkUpsertMaterializer V2
+
+##### [FLINK-38459](https://issues.apache.org/jira/browse/FLINK-38459)
+
+SinkUpsertMaterializer is an operator in Flink that reconciles out of order 
changelog events before
+sending them to an upsert sink. Performance of this operator degrades 
exponentially in some cases.
+Flink 2.2 introduces a new implementation that is optimized for such cases.
+
+### Runtime
+
+#### Balanced Tasks Scheduling
+
+##### [FLINK-31757](https://issues.apache.org/jira/browse/FLINK-31757)
+
+Introducing a balanced tasks scheduling strategy to achieve task load 
balancing for TMs and reducing
+job bottlenecks.
+
+See more details about the capabilities and usages of
+Flink's [Balanced Tasks 
Scheduling](https://nightlies.apache.org/flink/flink-docs-release-2.2/docs/deployment/tasks-scheduling/balanced_tasks_scheduling/).
+
+#### Enhanced Job History Retention Policies for HistoryServer
+
+##### [FLINK-38229](https://issues.apache.org/jira/browse/FLINK-38229)
+
+Before Flink 2.2, HistoryServer supports only a quantity-based job archive 
retention policy and
+is insufficient for scenarios, such as: time-based retention or combined 
rules. Users can use
+the new configuration `historyserver.archive.retained-ttl` combining with 
`historyserver.archive.retained-jobs`
+to fulfill more scenario requirements.
+
+### Connectors
+
+#### Introduce RateLimiter for Source
+
+##### [FLINK-38497](https://issues.apache.org/jira/browse/FLINK-38497)
+
+Flink jobs frequently exchange data with external systems, which consumes 
their network bandwidth
+and CPU. When these resources are scarce, pulling data too aggressively can 
disrupt other workloads.
+In Flink 2.2, we introduce a RateLimiter interface to provide request rate 
limiting for Scan Sources

Review Comment:
   fixed



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