Skip to content

[Feature Request]: Support External Iceberg Tables #23359

Description

@dengn

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

Describe the feature you'd like

Add ability to query external Apache Iceberg tables.

Describe implementation you've considered

No response

Documentation, Adoption, Use Case, Migration Strategy

Additional information

No response

Activity

  1. added this to the MO-202601 milestone on Dec 23, 2025
  2. added theissue type on Dec 23, 2025
  3. added
    priority/p0
    on Dec 23, 2025
  4. ghost removed this from the MO-202601 milestone on May 29, 2026
  5. ghost added this to the MO-202606 milestone on May 29, 2026
  6. added
    severity/s2
    on Jun 30, 2026
  7. modified the milestones: MO-202606, MO-202607 on Jun 30, 2026
  8. added
    ai-heavy
    on Jul 23, 2026
  9. removed
    severity/s2
    on Aug 6, 2026
  10. assigned and unassigned on Aug 12, 2026
  11. Ariznawlll commented on Aug 16, 2026

    @Ariznawlll
    Collaborator

    在 main@1f9e501594509fb5d2e0284833faf8c3426e2285 按 Iceberg 外表测试设计验收时,已拆出两个独立问题:

    两个 issue 均包含完整环境、最小复现步骤、实际/预期结果、稳定性与控制组、代码位置和回归建议。

    另有一次 append 路径间歇失败只出现在 LogService 状态异常的 MinIO-backed MatrixOne 拓扑;fresh 标准 DISK-V2 拓扑 3/3 通过,目前无法排除环境因素,因此未作为产品 bug 提交。

  12. Ariznawlll commented on Aug 16, 2026

    @Ariznawlll
    Collaborator

    补充测试设计中的 Catalog HTTPS fail-fast 场景后,发现并提交了一个独立派生问题:#27199。未设置 MO_ICEBERG_ALLOW_PLAIN_HTTP 时,CREATE ICEBERG CATALOG 仍会接受并持久化 HTTP URI,运行时才拒绝;已在官方 main 1f9e501594509fb5d2e0284833faf8c3426e2285 复现 3/3。该问题与数据文件读取失败 #27196 相互独立。

  13. Ariznawlll commented on Aug 16, 2026

    @Ariznawlll
    Collaborator

    已按 Iceberg External Table 测试设计补充本机原生环境验证。此次不再依赖 Docker Desktop,环境为本机 MinIO + Nessie + Spark oracle,并使用最新 main 构建的 MatrixOne。

    测试环境

    • MatrixOne: main@1f9e501594509fb5d2e0284833faf8c3426e2285
    • 拓扑一:1 CN + 1 TN + 1 LogService,DISK-V2
    • 拓扑二:2 CN + 1 TN + 1 LogService,CN 端口 16001/16002
    • MinIO: RELEASE.2025-09-06T17-38-46Z
    • Nessie: 0.108.4
    • Spark: 3.5.1 + Iceberg 1.6.1 + JDK 21.0.12
    • Iceberg: format v2 / Parquet

    本轮补充覆盖

    1. 基础读取与小文件

    • 分区小文件表:128 个分区、128 个 data file、1280 行。
    • MatrixOne 3/3 返回 count=1280、distinct batch=128、min(id)=0、max(id)=1279、sum(id)=818560。
    • 首、中、末边界分区(0/63/127)均返回 10 行和正确的 id 范围。

    2. 嵌套类型 Unhappy Path

    • 包含 STRUCT/LIST/MAP/BINARY 的 Iceberg 表,MatrixOne 3/3 稳定返回 ICEBERG_UNSUPPORTED_FEATURE,并明确列出 list,map,struct。
    • 拒绝后服务健康,无 panic/OOM/restart。

    3. 真实公开大表

    4. 分区裁剪

    5. 数据文件重写维护

    6. 多 CN 元数据刷新与一致性

    • 两个 CN 先分别缓存同一 1280 行 Iceberg 表。
    • Spark 在外部提交一个新 snapshot,追加 batch 128 的 10 行。
    • Spark oracle 为 1290 / 831405;CN1 和 CN2 随后各 3/3 返回 1290 / 831405 / max(batch_id)=128。
    • 本机 2 CN 外部提交可见性与结果一致性通过。

    已有关联问题

    尚需专用环境验证

    • 生产 HTTPS、credential vending/remote signing 与真实云 IAM;
    • CN/TN/网络故障注入下的 commit-unknown、恢复和幂等性;
    • ClickBench 全量数据(本机磁盘不足,不能用缩小数据冒充)。

    结论:本机可自建的 MinIO/Nessie/Spark、负向类型、维护、公开大表和 2 CN 一致性路径已补齐。当前发现 2 个新缺陷并已登记;#23359 整体暂不能按全量测试设计判定通过,需等待 #27196/#27200/#27201 等正确性问题修复,并在专用环境完成 HTTPS/IAM/Chaos 门槛。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ai-heavykind/featurephase/testingpriority/p0

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions