This is an automated email from the ASF dual-hosted git repository.
corgy pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 16f3226fea [Doc][Improve] update projection supported in Paimon (#9425)
16f3226fea is described below
commit 16f3226fea9a5bc194970cd24a8d77a8707c6dae
Author: WenDing-Y <[email protected]>
AuthorDate: Fri Jun 13 09:36:24 2025 +0800
[Doc][Improve] update projection supported in Paimon (#9425)
---
docs/en/connector-v2/source/Paimon.md | 5 +++--
docs/zh/connector-v2/source/Paimon.md | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/en/connector-v2/source/Paimon.md
b/docs/en/connector-v2/source/Paimon.md
index 2237914fb2..6ef6d49071 100644
--- a/docs/en/connector-v2/source/Paimon.md
+++ b/docs/en/connector-v2/source/Paimon.md
@@ -13,7 +13,7 @@ Read data from Apache Paimon.
- [x] [batch](../../concept/connector-v2-features.md)
- [x] [stream](../../concept/connector-v2-features.md)
- [ ] [exactly-once](../../concept/connector-v2-features.md)
-- [ ] [column projection](../../concept/connector-v2-features.md)
+- [x] [column projection](../../concept/connector-v2-features.md)
- [ ] [parallelism](../../concept/connector-v2-features.md)
- [ ] [support user-defined split](../../concept/connector-v2-features.md)
@@ -60,7 +60,8 @@ The file path of `hdfs-site.xml`
The filter condition of the table read. For example: `select * from st_test
where id > 100`. If not specified, all rows are read.
Currently, where conditions only support <, <=, >, >=, =, !=, or, and,is null,
is not null, between...and, in, not in, and others are not supported.
The Having, Group By, Order By clauses are currently unsupported, because
these clauses are not supported by Paimon.
-The projection and limit will be supported in the future.
+you can also project specific columns, for example: select id, name from
st_test where id > 100.
+The limit will be supported in the future.
Note: When the field after the where condition is a string or boolean value,
its value must be enclosed in single quotes, otherwise an error will be
reported. `For example: name='abc' or tag='true'`
The field data types currently supported by where conditions are as follows:
diff --git a/docs/zh/connector-v2/source/Paimon.md
b/docs/zh/connector-v2/source/Paimon.md
index a34d56a4f6..81784cc7c4 100644
--- a/docs/zh/connector-v2/source/Paimon.md
+++ b/docs/zh/connector-v2/source/Paimon.md
@@ -13,7 +13,7 @@ import ChangeLog from '../changelog/connector-paimon.md';
- [x] [批处理](../../concept/connector-v2-features.md)
- [x] [流处理](../../concept/connector-v2-features.md)
- [ ] [精确一次](../../concept/connector-v2-features.md)
-- [ ] [列投影](../../concept/connector-v2-features.md)
+- [x] [列投影](../../concept/connector-v2-features.md)
- [ ] [并行度](../../concept/connector-v2-features.md)
- [ ] [支持用户自定义分片](../../concept/connector-v2-features.md)
@@ -61,7 +61,9 @@ Paimon 的 catalog uri,仅当 catalog_type 为 hive 时需要
目前,`where` 支持`<, <=, >, >=, =, !=, or, and,is null, is not null,
between...and, in , not in`,其他暂不支持。
-由于 Paimon 限制,目前不支持 `Having`, `Group By` 和 `Order By`,未来版本将会支持 `projection` 和
`limit`。
+Projection 已支持,你可以选择特定的列,例如:select id, name from st_test where id > 100。
+
+由于 Paimon 限制,目前不支持 `Having`, `Group By` 和 `Order By`,未来版本将会支持 `limit`。
注意:当 `where` 后的字段为字符串或布尔值时,其值必须使用单引号,否则将会报错。例如 `name='abc'` 或 `tag='true'`。