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 9d26b3c5793 [doc](lance) add some version notes in lance catalog 
(#4051)
9d26b3c5793 is described below

commit 9d26b3c5793d0e827959601c4d6f586c60548cdd
Author: zhangstar333 <[email protected]>
AuthorDate: Thu Aug 13 16:52:14 2026 +0800

    [doc](lance) add some version notes in lance catalog (#4051)
    
    ## Versions
    
    - [x] dev
    - [x] 4.x
    - [ ] 3.x
    - [ ] 2.1 or older (not covered by version/language sync gate)
    
    ## Languages
    
    - [ ] Chinese
    - [ ] English
    - [ ] Japanese candidate translation needed
    
    ## Docs Checklist
    
    - [ ] Checked by AI
    - [ ] Test Cases Built
    - [ ] Updated required version and language counterparts, or explained
    why not
    - [ ] If only one language changed, confirmed whether source/translation
    counterparts need sync
---
 docs/lakehouse/catalogs/lance-catalog.mdx           | 21 +++++++++++++++++++++
 .../current/lakehouse/catalogs/lance-catalog.mdx    | 21 +++++++++++++++++++++
 .../lakehouse/catalogs/lance-catalog.mdx            | 21 +++++++++++++++++++++
 .../lakehouse/catalogs/lance-catalog.mdx            | 21 +++++++++++++++++++++
 4 files changed, 84 insertions(+)

diff --git a/docs/lakehouse/catalogs/lance-catalog.mdx 
b/docs/lakehouse/catalogs/lance-catalog.mdx
index 4693079d496..1e53b1e02cc 100644
--- a/docs/lakehouse/catalogs/lance-catalog.mdx
+++ b/docs/lakehouse/catalogs/lance-catalog.mdx
@@ -29,6 +29,27 @@ Doris currently provides read-only access to Lance. 
Creating, writing, updating,
 | Time Travel | Not supported |
 | Full-Text Search / Hybrid Search | Not supported |
 
+## Lance Version and Compatibility
+
+The Doris BE data reader is built with [`lance-c` 
`v0.1.2`](https://github.com/lance-format/lance-c/tree/v0.1.2). This `lance-c` 
release declares the Lance Rust crates at version `4.0.1`. These implementation 
versions are different from the Lance `data_storage_version` recorded in a 
dataset.
+
+The following table describes the file-format compatibility of this reader:
+
+| `data_storage_version` | Read support | Notes |
+|---|---|---|
+| `0.1` / `legacy` | Supported | Original Lance file format. |
+| `2.0` | Supported | The `stable` alias resolves to `2.0` in Lance `4.0.1`; 
this is the most conservative choice for data that Doris must read. |
+| `2.1` | Supported | Uses the newer nested-field encoding in which structural 
validity is stored in repetition and definition levels. |
+| `2.2` | Recognized, but not guaranteed | This format was marked unstable by 
the Lance version embedded in Doris. Do not rely on it for production 
interoperability. |
+| `2.3` / `next` | Experimental; not guaranteed | The `next` alias is unstable 
and may change incompatibly. |
+| A later or unknown version | Not supported | Opening or scanning the dataset 
may fail with an unsupported storage-version error. |
+
+Lance SDK release numbers and file-format versions are independent. A dataset 
written by an older or newer Lance SDK is readable only when its storage 
format, required table feature flags, index format, and Arrow/Lance data types 
are all understood by the versions embedded in Doris. Consequently:
+
+- Doris is expected to read datasets written with the stable `0.1`, `2.0`, and 
`2.1` storage formats, subject to the type limitations documented below.
+- Forward compatibility is not guaranteed. A dataset written or modified by a 
later Lance release may be unreadable if it uses a newer storage format, an 
unknown required manifest feature, a newer index format, or an unsupported 
extension type.
+- For datasets that must remain readable by this Doris release, explicitly set 
`data_storage_version` to `2.0`. Do not use `next`. If a newer writer or 
optional Lance feature is introduced, validate the resulting dataset with the 
target Doris release before using it in production.
+
 ## Configure a Catalog
 
 ### Syntax
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/lance-catalog.mdx
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/lance-catalog.mdx
index 9f1e2b04373..27c6380221b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/lance-catalog.mdx
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/lance-catalog.mdx
@@ -29,6 +29,27 @@ Lance 是面向分析和 AI 场景的列式数据格式。Doris 可以通过 Lan
 | Time Travel | 暂不支持 |
 | Full-Text Search / Hybrid Search | 暂不支持 |
 
+## Lance 版本与兼容性
+
+Doris BE 数据读取器使用 [`lance-c` 
`v0.1.2`](https://github.com/lance-format/lance-c/tree/v0.1.2) 构建;该 `lance-c` 
发行版声明的 Lance Rust crates 版本为 `4.0.1`。这些实现版本与数据集中记录的 Lance 
`data_storage_version` 不是同一个概念。
+
+当前读取器的文件格式兼容情况如下:
+
+| `data_storage_version` | 读取支持 | 说明 |
+|---|---|---|
+| `0.1` / `legacy` | 支持 | Lance 的初始文件格式。 |
+| `2.0` | 支持 | 在 Lance `4.0.1` 中,`stable` 别名对应 `2.0`;对于必须由 Doris 
读取的数据,这是最保守的选择。 |
+| `2.1` | 支持 | 使用新的嵌套字段编码,将结构字段的有效性信息保存在 repetition/definition level 中。 |
+| `2.2` | 可以识别,但不保证兼容 | Doris 内置的 Lance 版本将该格式标记为不稳定,不应依赖它实现生产环境互操作。 |
+| `2.3` / `next` | 实验性,不保证兼容 | `next` 别名不稳定,可能发生不兼容变更。 |
+| 后续或未知版本 | 不支持 | 打开或扫描数据集时可能返回不支持存储版本的错误。 |
+
+Lance SDK 发行版本号和文件格式版本相互独立。无论数据集由更早还是更新的 Lance SDK 写入,只有当其存储格式、必需的表级 Feature 
Flag、索引格式以及 Arrow/Lance 数据类型均可被 Doris 内置版本识别时,Doris 才能读取。因此:
+
+- Doris 预期能够读取使用稳定存储格式 `0.1`、`2.0` 和 `2.1` 写入的数据集,同时还需满足下文所述的数据类型限制。
+- 不保证向前兼容。更新的 Lance 版本写入或修改数据集后,如果使用了更新的存储格式、未知的必需 Manifest Feature、新索引格式或不支持的 
Extension 类型,Doris 可能无法读取。
+- 对于必须由当前 Doris 版本持续读取的数据集,建议显式设置 `data_storage_version` 为 `2.0`,且不要使用 
`next`。引入更新的写入器或可选 Lance 功能后,应先使用目标 Doris 版本验证生成的数据集,再用于生产环境。
+
 ## 配置 Catalog
 
 ### 语法
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
index 9f1e2b04373..27c6380221b 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
@@ -29,6 +29,27 @@ Lance 是面向分析和 AI 场景的列式数据格式。Doris 可以通过 Lan
 | Time Travel | 暂不支持 |
 | Full-Text Search / Hybrid Search | 暂不支持 |
 
+## Lance 版本与兼容性
+
+Doris BE 数据读取器使用 [`lance-c` 
`v0.1.2`](https://github.com/lance-format/lance-c/tree/v0.1.2) 构建;该 `lance-c` 
发行版声明的 Lance Rust crates 版本为 `4.0.1`。这些实现版本与数据集中记录的 Lance 
`data_storage_version` 不是同一个概念。
+
+当前读取器的文件格式兼容情况如下:
+
+| `data_storage_version` | 读取支持 | 说明 |
+|---|---|---|
+| `0.1` / `legacy` | 支持 | Lance 的初始文件格式。 |
+| `2.0` | 支持 | 在 Lance `4.0.1` 中,`stable` 别名对应 `2.0`;对于必须由 Doris 
读取的数据,这是最保守的选择。 |
+| `2.1` | 支持 | 使用新的嵌套字段编码,将结构字段的有效性信息保存在 repetition/definition level 中。 |
+| `2.2` | 可以识别,但不保证兼容 | Doris 内置的 Lance 版本将该格式标记为不稳定,不应依赖它实现生产环境互操作。 |
+| `2.3` / `next` | 实验性,不保证兼容 | `next` 别名不稳定,可能发生不兼容变更。 |
+| 后续或未知版本 | 不支持 | 打开或扫描数据集时可能返回不支持存储版本的错误。 |
+
+Lance SDK 发行版本号和文件格式版本相互独立。无论数据集由更早还是更新的 Lance SDK 写入,只有当其存储格式、必需的表级 Feature 
Flag、索引格式以及 Arrow/Lance 数据类型均可被 Doris 内置版本识别时,Doris 才能读取。因此:
+
+- Doris 预期能够读取使用稳定存储格式 `0.1`、`2.0` 和 `2.1` 写入的数据集,同时还需满足下文所述的数据类型限制。
+- 不保证向前兼容。更新的 Lance 版本写入或修改数据集后,如果使用了更新的存储格式、未知的必需 Manifest Feature、新索引格式或不支持的 
Extension 类型,Doris 可能无法读取。
+- 对于必须由当前 Doris 版本持续读取的数据集,建议显式设置 `data_storage_version` 为 `2.0`,且不要使用 
`next`。引入更新的写入器或可选 Lance 功能后,应先使用目标 Doris 版本验证生成的数据集,再用于生产环境。
+
 ## 配置 Catalog
 
 ### 语法
diff --git a/versioned_docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx 
b/versioned_docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
index 4693079d496..1e53b1e02cc 100644
--- a/versioned_docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
+++ b/versioned_docs/version-4.x/lakehouse/catalogs/lance-catalog.mdx
@@ -29,6 +29,27 @@ Doris currently provides read-only access to Lance. 
Creating, writing, updating,
 | Time Travel | Not supported |
 | Full-Text Search / Hybrid Search | Not supported |
 
+## Lance Version and Compatibility
+
+The Doris BE data reader is built with [`lance-c` 
`v0.1.2`](https://github.com/lance-format/lance-c/tree/v0.1.2). This `lance-c` 
release declares the Lance Rust crates at version `4.0.1`. These implementation 
versions are different from the Lance `data_storage_version` recorded in a 
dataset.
+
+The following table describes the file-format compatibility of this reader:
+
+| `data_storage_version` | Read support | Notes |
+|---|---|---|
+| `0.1` / `legacy` | Supported | Original Lance file format. |
+| `2.0` | Supported | The `stable` alias resolves to `2.0` in Lance `4.0.1`; 
this is the most conservative choice for data that Doris must read. |
+| `2.1` | Supported | Uses the newer nested-field encoding in which structural 
validity is stored in repetition and definition levels. |
+| `2.2` | Recognized, but not guaranteed | This format was marked unstable by 
the Lance version embedded in Doris. Do not rely on it for production 
interoperability. |
+| `2.3` / `next` | Experimental; not guaranteed | The `next` alias is unstable 
and may change incompatibly. |
+| A later or unknown version | Not supported | Opening or scanning the dataset 
may fail with an unsupported storage-version error. |
+
+Lance SDK release numbers and file-format versions are independent. A dataset 
written by an older or newer Lance SDK is readable only when its storage 
format, required table feature flags, index format, and Arrow/Lance data types 
are all understood by the versions embedded in Doris. Consequently:
+
+- Doris is expected to read datasets written with the stable `0.1`, `2.0`, and 
`2.1` storage formats, subject to the type limitations documented below.
+- Forward compatibility is not guaranteed. A dataset written or modified by a 
later Lance release may be unreadable if it uses a newer storage format, an 
unknown required manifest feature, a newer index format, or an unsupported 
extension type.
+- For datasets that must remain readable by this Doris release, explicitly set 
`data_storage_version` to `2.0`. Do not use `next`. If a newer writer or 
optional Lance feature is introduced, validate the resulting dataset with the 
target Doris release before using it in production.
+
 ## Configure a Catalog
 
 ### Syntax


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to