This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 01c6eec677d [opt](lakehouse) format some code blocks (#2561)
01c6eec677d is described below
commit 01c6eec677d7f53a1df3e221b8858a92df2818fa
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Jun 26 12:18:35 2025 +0800
[opt](lakehouse) format some code blocks (#2561)
## Versions
- [x] dev
- [ ] 3.0
- [ ] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
---
docs/lakehouse/catalogs/iceberg-catalog.md | 10 +++++-----
docs/lakehouse/catalogs/paimon-catalog.md | 8 +++++---
.../current/lakehouse/catalogs/iceberg-catalog.md | 10 +++++-----
.../current/lakehouse/catalogs/paimon-catalog.md | 8 +++++---
4 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/docs/lakehouse/catalogs/iceberg-catalog.md
b/docs/lakehouse/catalogs/iceberg-catalog.md
index 94d04a8ebb3..526370fc130 100644
--- a/docs/lakehouse/catalogs/iceberg-catalog.md
+++ b/docs/lakehouse/catalogs/iceberg-catalog.md
@@ -364,7 +364,7 @@ Result:
```text
+--------+---------------------+-----------------+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
-| status | snapshot_id | sequence_number | file_sequence_number |
data_file
[...]
+| status | snapshot_id | sequence_number | file_sequence_number |
data_file
[...]
+--------+---------------------+-----------------+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
| 2 | 4890031351138056789 | 1 | 1 |
{"content":0,
"file_path":"s3://.../iceberg_table/data/id=1/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00001.parquet",
"file_format":"PARQUET", "spec_id":0, "partition":{"id":1}, "record_count":1,
"file_size_in_bytes":625, "column_sizes":{1:36, 2:41}, "value_counts":{1:1,
2:1}, "null_value_counts":{1:0, 2:0}, "nan_value_counts":{},
"lower_bounds":{1:" ", 2:"Alice"}, "upper_bounds":{1:" ", 2:"Alice"}, "key_
[...]
| 0 | 1851184769713369003 | 1 | 1 |
{"content":0,
"file_path":"s3://.../iceberg_table/data/id=2/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00002.parquet",
"file_format":"PARQUET", "spec_id":0, "partition":{"id":2}, "record_count":1,
"file_size_in_bytes":611, "column_sizes":{1:36, 2:39}, "value_counts":{1:1,
2:1}, "null_value_counts":{1:0, 2:0}, "nan_value_counts":{},
"lower_bounds":{1:" ", 2:"Bob"}, "upper_bounds":{1:" ", 2:"Bob"}, "key_meta
[...]
@@ -383,7 +383,7 @@ Result:
```text
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+---------+-----------+--------------+--------------------+--------------+--------------+-------------------+------------------+-----------------------+-----------------------+--------------+---------------+--------------+---------------+--------------+----------------------+----------------+-----------
[...]
-| content | file_path
| file_format | spec_id | partition | record_count |
file_size_in_bytes | column_sizes | value_counts | null_value_counts |
nan_value_counts | lower_bounds | upper_bounds | key_metadata
| split_offsets | equality_ids | sort_order_id | first_row_id |
referenced_data_file | content_offset | content_si [...]
+| content | file_path
| file_format | spec_id | partition | record_count
| file_size_in_bytes | column_sizes | value_counts | null_value_counts |
nan_value_counts | lower_bounds | upper_bounds | key_metadata
| split_offsets | equality_ids | sort_order_id | first_row_id |
referenced_data_file | content_offset | content_size_in_bytes |
readable_metrics [...]
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+---------+-----------+--------------+--------------------+--------------+--------------+-------------------+------------------+-----------------------+-----------------------+--------------+---------------+--------------+---------------+--------------+----------------------+----------------+-----------
[...]
| 0 |
s3://.../iceberg_table/data/id=2/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00002.parquet
| PARQUET | 0 | {"id":2} | 1 | 611 |
{1:36, 2:39} | {1:1, 2:1} | {1:0, 2:0} | {} | {1:" ",
2:"Bob"} | {1:" ", 2:"Bob"} | NULL | [4] | NULL
| 0 | NULL | NULL | NULL |
NULL | {"id":{"column_size":36, "value_count":1, "null_value_ [...]
| 0 |
s3://.../iceberg_table/data/id=4/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00004.parquet
| PARQUET | 0 | {"id":4} | 1 | 618 |
{1:36, 2:40} | {1:1, 2:1} | {1:0, 2:0} | {} | {1:" ",
2:"Dave"} | {1:" ", 2:"Dave"} | NULL | [4] | NULL
| 0 | NULL | NULL | NULL |
NULL | {"id":{"column_size":36, "value_count":1, "null_value_ [...]
@@ -447,7 +447,7 @@ Result:
```text
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
-| content | path
|
length | partition_spec_id | added_snapshot_id | added_data_files_count |
existing_data_files_count | deleted_data_files_count | added_delete_files_count
| existing_delete_files_count | deleted_delete_files_count |
partition_summaries |
+| content | path
| length | partition_spec_id | added_snapshot_id |
added_data_files_count | existing_data_files_count | deleted_data_files_count |
added_delete_files_count | existing_delete_files_count |
deleted_delete_files_count | partition_summaries
|
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
| 0 |
s3://.../iceberg_table/metadata/3194eb8b-5ea4-4cbe-95ba-073229458e7b-m0.avro |
7138 | 0 | 4890031351138056789 | 0 |
5 | 5 | 0 |
0 | 0 | [{"contains_null":0,
"contains_nan":0, "lower_bound":"1", "upper_bound":"10"}] |
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
@@ -465,7 +465,7 @@ Result:
```text
+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+------------------------+
-| timestamp | file
| latest_snapshot_id | latest_schema_id |
latest_sequence_number |
+| timestamp | file
| latest_snapshot_id |
latest_schema_id | latest_sequence_number |
+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+------------------------+
| 2025-06-12 22:29:06.948000 |
s3://.../iceberg_table/metadata/00000-e373aa16-15f1-4e69-ae7d-5ed64199cf9a.metadata.json
| NULL | NULL | NULL |
| 2025-06-12 22:29:16.357000 |
s3://.../iceberg_table/metadata/00001-bbc8e244-e41c-4958-92f4-63b8c3ee1196.metadata.json
| 1851184769713369003 | 0 | 1 |
@@ -530,7 +530,7 @@ Result:
```text
+----------------------------+---------------------+---------------------+-----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
-| committed_at | snapshot_id | parent_id |
operation | manifest_list
| summary
[...]
+| committed_at | snapshot_id | parent_id |
operation | manifest_list
| summary
[...]
+----------------------------+---------------------+---------------------+-----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
| 2025-06-12 22:29:16.357000 | 1851184769713369003 | NULL |
append |
s3://.../iceberg_table/metadata/snap-1851184769713369003-1-82059f57-821a-4983-b083-002cc2cde313.avro
| {"spark.app.id":"application_1738810850199_0472", "added-data-files":"10",
"added-records":"10", "added-files-size":"6200",
"changed-partition-count":"10", "total-records":"10",
"total-files-size":"6200", "total-data-files":"10", "total-delete-files":"0",
"total-position-deletes":"0", "total-equality- [...]
| 2025-06-12 22:29:39.922000 | 4890031351138056789 | 1851184769713369003 |
overwrite |
s3://.../iceberg_table/metadata/snap-4890031351138056789-1-3194eb8b-5ea4-4cbe-95ba-073229458e7b.avro
| {"spark.app.id":"application_1738810850199_0472", "deleted-data-files":"5",
"deleted-records":"5", "removed-files-size":"3103",
"changed-partition-count":"5", "total-records":"5", "total-files-size":"3097",
"total-data-files":"5", "total-delete-files":"0", "total-position-deletes":"0",
"total-equality [...]
diff --git a/docs/lakehouse/catalogs/paimon-catalog.md
b/docs/lakehouse/catalogs/paimon-catalog.md
index d23135cb8b7..c6ea928e3ce 100644
--- a/docs/lakehouse/catalogs/paimon-catalog.md
+++ b/docs/lakehouse/catalogs/paimon-catalog.md
@@ -256,11 +256,13 @@ Parameter:
| `startTimestamp` | Starting snapshot timestamp, must be greater than or
equal to 0 | `'startTimestamp'='1750844949'` |
| `endTimestamp` | Ending snapshot timestamp, must be greater than
`startTimestamp`. Optional, if not specified, reads from `startTimestamp` to
the latest snapshot | `'endTimestamp'='1750944949'` |
-> `startSnapshotId` and `endSnapshotId` will compose the Paimon parameter
`'incremental-between'='3,10'`
+> Notice:
-> `startTimestamp` and `endTimestamp` will compose the Paimon parameter
`'incremental-between-timestamp'='1750844949,1750944949'`
+> - `startSnapshotId` and `endSnapshotId` will compose the Paimon parameter
`'incremental-between'='3,10'`
-> `incrementalBetweenScanMode` corresponds to the Paimon parameter
`incremental-between-scan-mode`.
+> - `startTimestamp` and `endTimestamp` will compose the Paimon parameter
`'incremental-between-timestamp'='1750844949,1750944949'`
+
+> - `incrementalBetweenScanMode` corresponds to the Paimon parameter
`incremental-between-scan-mode`.
Refer to the [Paimon
documentation](https://paimon.apache.org/docs/master/maintenance/configurations/)
for further details about these parameters.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.md
index 7e2138128fd..db885b657aa 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/iceberg-catalog.md
@@ -374,7 +374,7 @@ SELECT * FROM iceberg_table$entries;
```text
+--------+---------------------+-----------------+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
-| status | snapshot_id | sequence_number | file_sequence_number |
data_file
[...]
+| status | snapshot_id | sequence_number | file_sequence_number |
data_file
[...]
+--------+---------------------+-----------------+----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
| 2 | 4890031351138056789 | 1 | 1 |
{"content":0,
"file_path":"s3://.../iceberg_table/data/id=1/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00001.parquet",
"file_format":"PARQUET", "spec_id":0, "partition":{"id":1}, "record_count":1,
"file_size_in_bytes":625, "column_sizes":{1:36, 2:41}, "value_counts":{1:1,
2:1}, "null_value_counts":{1:0, 2:0}, "nan_value_counts":{},
"lower_bounds":{1:" ", 2:"Alice"}, "upper_bounds":{1:" ", 2:"Alice"}, "key_
[...]
| 0 | 1851184769713369003 | 1 | 1 |
{"content":0,
"file_path":"s3://.../iceberg_table/data/id=2/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00002.parquet",
"file_format":"PARQUET", "spec_id":0, "partition":{"id":2}, "record_count":1,
"file_size_in_bytes":611, "column_sizes":{1:36, 2:39}, "value_counts":{1:1,
2:1}, "null_value_counts":{1:0, 2:0}, "nan_value_counts":{},
"lower_bounds":{1:" ", 2:"Bob"}, "upper_bounds":{1:" ", 2:"Bob"}, "key_meta
[...]
@@ -392,7 +392,7 @@ SELECT * FROM iceberg_table$files;
结果:
```text
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+---------+-----------+--------------+--------------------+--------------+--------------+-------------------+------------------+-----------------------+-----------------------+--------------+---------------+--------------+---------------+--------------+----------------------+----------------+-----------
[...]
-| content | file_path
| file_format | spec_id | partition | record_count |
file_size_in_bytes | column_sizes | value_counts | null_value_counts |
nan_value_counts | lower_bounds | upper_bounds | key_metadata
| split_offsets | equality_ids | sort_order_id | first_row_id |
referenced_data_file | content_offset | content_si [...]
+| content | file_path
| file_format | spec_id | partition | record_count
| file_size_in_bytes | column_sizes | value_counts | null_value_counts |
nan_value_counts | lower_bounds | upper_bounds | key_metadata
| split_offsets | equality_ids | sort_order_id | first_row_id |
referenced_data_file | content_offset | content_size_in_bytes |
readable_metrics [...]
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+---------+-----------+--------------+--------------------+--------------+--------------+-------------------+------------------+-----------------------+-----------------------+--------------+---------------+--------------+---------------+--------------+----------------------+----------------+-----------
[...]
| 0 |
s3://.../iceberg_table/data/id=2/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00002.parquet
| PARQUET | 0 | {"id":2} | 1 | 611 |
{1:36, 2:39} | {1:1, 2:1} | {1:0, 2:0} | {} | {1:" ",
2:"Bob"} | {1:" ", 2:"Bob"} | NULL | [4] | NULL
| 0 | NULL | NULL | NULL |
NULL | {"id":{"column_size":36, "value_count":1, "null_value_ [...]
| 0 |
s3://.../iceberg_table/data/id=4/00000-16-79ef2fd7-9997-47eb-a91a-9f7af8201315-0-00004.parquet
| PARQUET | 0 | {"id":4} | 1 | 618 |
{1:36, 2:40} | {1:1, 2:1} | {1:0, 2:0} | {} | {1:" ",
2:"Dave"} | {1:" ", 2:"Dave"} | NULL | [4] | NULL
| 0 | NULL | NULL | NULL |
NULL | {"id":{"column_size":36, "value_count":1, "null_value_ [...]
@@ -456,7 +456,7 @@ SELECT * FROM iceberg_table$manifests;
```text
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
-| content | path
|
length | partition_spec_id | added_snapshot_id | added_data_files_count |
existing_data_files_count | deleted_data_files_count | added_delete_files_count
| existing_delete_files_count | deleted_delete_files_count |
partition_summaries |
+| content | path
| length | partition_spec_id | added_snapshot_id |
added_data_files_count | existing_data_files_count | deleted_data_files_count |
added_delete_files_count | existing_delete_files_count |
deleted_delete_files_count | partition_summaries
|
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
| 0 |
s3://.../iceberg_table/metadata/3194eb8b-5ea4-4cbe-95ba-073229458e7b-m0.avro |
7138 | 0 | 4890031351138056789 | 0 |
5 | 5 | 0 |
0 | 0 | [{"contains_null":0,
"contains_nan":0, "lower_bound":"1", "upper_bound":"10"}] |
+---------+------------------------------------------------------------------------------------------------------------------------------------------------+--------+-------------------+---------------------+------------------------+---------------------------+--------------------------+--------------------------+-----------------------------+----------------------------+--------------------------------------------------------------------------------+
@@ -474,7 +474,7 @@ SELECT * FROM iceberg_table$metadata_log_entries;
```text
+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+------------------------+
-| timestamp | file
| latest_snapshot_id | latest_schema_id |
latest_sequence_number |
+| timestamp | file
| latest_snapshot_id |
latest_schema_id | latest_sequence_number |
+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+------------------+------------------------+
| 2025-06-12 22:29:06.948000 |
s3://.../iceberg_table/metadata/00000-e373aa16-15f1-4e69-ae7d-5ed64199cf9a.metadata.json
| NULL | NULL | NULL |
| 2025-06-12 22:29:16.357000 |
s3://.../iceberg_table/metadata/00001-bbc8e244-e41c-4958-92f4-63b8c3ee1196.metadata.json
| 1851184769713369003 | 0 | 1 |
@@ -539,7 +539,7 @@ SELECT * FROM iceberg_table$snapshots;
```text
+----------------------------+---------------------+---------------------+-----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
-| committed_at | snapshot_id | parent_id |
operation | manifest_list
| summary
[...]
+| committed_at | snapshot_id | parent_id |
operation | manifest_list
| summary
[...]
+----------------------------+---------------------+---------------------+-----------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[...]
| 2025-06-12 22:29:16.357000 | 1851184769713369003 | NULL |
append |
s3://.../iceberg_table/metadata/snap-1851184769713369003-1-82059f57-821a-4983-b083-002cc2cde313.avro
| {"spark.app.id":"application_1738810850199_0472", "added-data-files":"10",
"added-records":"10", "added-files-size":"6200",
"changed-partition-count":"10", "total-records":"10",
"total-files-size":"6200", "total-data-files":"10", "total-delete-files":"0",
"total-position-deletes":"0", "total-equality- [...]
| 2025-06-12 22:29:39.922000 | 4890031351138056789 | 1851184769713369003 |
overwrite |
s3://.../iceberg_table/metadata/snap-4890031351138056789-1-3194eb8b-5ea4-4cbe-95ba-073229458e7b.avro
| {"spark.app.id":"application_1738810850199_0472", "deleted-data-files":"5",
"deleted-records":"5", "removed-files-size":"3103",
"changed-partition-count":"5", "total-records":"5", "total-files-size":"3097",
"total-data-files":"5", "total-delete-files":"0", "total-position-deletes":"0",
"total-equality [...]
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/paimon-catalog.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/paimon-catalog.md
index af7070883f6..fde3d1e48c7 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/paimon-catalog.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/paimon-catalog.md
@@ -256,11 +256,13 @@ SELECT * FROM
paimon_table@incr('startTimestamp'='1750844949', 'endTimestamp'='1
| `startTimestamp` | 起始快照时间,必须大于等于 0 | `'startTimestamp'='1750844949'` |
| `endTimestamp` | 结束快照时间,必须大于 `startTimestamp`。可选,如不指定,则表示从 `startTimestamp`
开始读取到最新的快照 | `'endTimestamp'='1750944949'` |
-> `startSnapshotId` 和 `endSnapshotId` 会组成 Paimon 参数
`'incremental-between'='3,10'`
+> 注:
-> `startTimestamp` 和 `endTimestamp` 会组成 Paimon 参数
`'incremental-between-timestamp'='1750844949,1750944949'`
+> - `startSnapshotId` 和 `endSnapshotId` 会组成 Paimon 参数
`'incremental-between'='3,10'`
-> `incrementalBetweenScanMode` 对应 Paimon 参数 `incremental-between-scan-mode`。
+> - `startTimestamp` 和 `endTimestamp` 会组成 Paimon 参数
`'incremental-between-timestamp'='1750844949,1750944949'`
+
+> - `incrementalBetweenScanMode` 对应 Paimon 参数 `incremental-between-scan-mode`。
可参阅 [Paimon
文档](https://paimon.apache.org/docs/master/maintenance/configurations/)
进一步了解这些参数。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]