返回

Apache Iceberg Go 0.8.0 发布:行级变更与表维护增强

Apache Iceberg Blog 原文 · 未翻译 发布 2026-11-27 08:00 收录于 12-01
直接阅读原文
DataHot 速览

Apache Iceberg 社区发布 iceberg-go 0.8.0,距 0.7.0 约两个月,合并了 45 位贡献者的 460 多个 PR,其中 24 人为首次贡献者。新版本重点包括增量 changelog 读取、等值删除转删除向量、动态分区覆盖等行级变更能力,以及排序压缩、Hilbert 曲线空间聚簇、删除文件重写与清理、跨引擎 Parquet 文件替换等表维护功能。并发提交方面,默认重试次数提升至 4 次并与 Java、PyIceberg 对齐,重试时会重放暂存更新。iceberg-go 是 Iceberg 表格式的原生 Go 实现,提供在 Go 应用中读写和管理 Iceberg 表的库。

为什么值得关注:湖仓表格式的原生 Go 实现补齐行级变更与压缩维护能力,对用 Go 技术栈接入 Iceberg 的数据平台团队有直接选型与升级参考价值。

本文目录 17 节
  1. Release Highlights🔗
  2. Row-Level Changes and Overwrites🔗
  3. Table Maintenance🔗
  4. Concurrent Commits🔗
  5. Branches and Snapshots🔗
  6. REST Catalog🔗
  7. Other Catalogs and IO🔗
  8. Statistics🔗
  9. File Formats🔗
  10. Encryption🔗
  11. Performance🔗
  12. Arrow Go v18.9 and Go 1.26🔗
  13. Bug Fixes🔗
  14. Breaking Changes🔗
  15. Known Issues🔗
  16. New Contributors🔗
  17. Getting Involved🔗

原文

The Apache Iceberg community is pleased to announce version 0.8.0 of iceberg-go.

This release covers approximately two months of development since the 0.7.0 release in October 2026 and is the result of merging over 460 PRs from 45 contributors, including 24 first-time contributors. See the full changelog for the complete list of changes.

iceberg-go is a native Go implementation of the Apache Iceberg table format, providing libraries for reading, writing, and managing Iceberg tables in Go applications.

Release Highlights🔗

Row-Level Changes and Overwrites🔗

Table Maintenance🔗

Concurrent Commits🔗

Most commits that lose a race to another writer are now retried by default, and retries check more of what the other writer changed:

Branches and Snapshots🔗

REST Catalog🔗

Other Catalogs and IO🔗

Statistics🔗

File Formats🔗

Encryption🔗

These are building blocks for table encryption. They are not yet used when reading or writing tables:

Performance🔗

Nearly 100 performance PRs landed in this release. Some of the highlights:

Arrow Go v18.9 and Go 1.26🔗

iceberg-go now depends on Apache Arrow Go v18.9.0, up from v18.8.0 in 0.7.0 (#2632), so applications importing both modules will resolve arrow-go to at least v18.9.0. Go 1.26.3 or later is now required (#2077, #2123); 0.7.0 required Go 1.25.9.

Bug Fixes🔗

Nearly 150 bug fixes landed in this release. Notable fixes include:

Breaking Changes🔗

Many of these changes clean up the public API ahead of a 1.0 release. The compatibility notes describe how to migrate; that page also lists changes merged after 0.8.0. The main breaking changes are:

  • Commit retries (#2462): conflicting commits are retried up to four times. Set commit.retry.num-retries to 0 to keep failing on the first conflict.
  • Contexts (#2067, #2290, #2336, #2357, #2448, #2449, #2450, #2611, #2617): FileIO methods, manifest and deletion vector reads, and the Hadoop, SQL, and Hive catalog constructors now take a context.Context. Custom FileIO implementations must be updated.
  • Catalog interface (#2292, #2305, #2349): catalog.Catalog now requires Close, PurgeTable, and Name. Optional features, such as views, have their own interfaces, which catalog.As finds.
  • Package moves (#2086, #2631, #2649): orphan cleanup moved to table/maintenance, metadata tables moved to table/inspect, and table/substrait is now internal.
  • SigV4 backend (#2060): catalog/rest no longer links the AWS SDK. Import catalog/rest/sigv4 to use SigV4 signing.
  • Data file methods (#2306, #2308, #2309): AddFiles is now AddDataFilesByPath. ReplaceDataFiles takes DataFile values, and the path-based version is ReplaceDataFilesByPath. ReplaceFilesWithDeleteFiles was removed.
  • Other renames and removals (#2178, #2179, #2266, #2310, #2313, #2314, #2315, #2317, #2322, #2331, #2635, #2648): deprecated names and ManifestFile.FetchEntries were removed; exported names follow Go initialisms; manifest builders and sequence numbers have explicit names; Metadata.Version is now FormatVersion; SnapshotAsOf always includes the given timestamp; NewTransactionOnBranch, FixedTypeOf, and DecimalTypeOf also return an error; and blobfs.New returns an interface.
  • Filters (#2356, #2369, #2432): NotIn no longer matches NULL rows, and predicates reject NaN literals. Use IsNaN and NotNaN instead.
  • Metadata validation (#2481, #2571, #2585): loading now fails for metadata with invalid identifier fields, incomplete history logs, or duplicate field IDs.
  • Object storage layout (#2368, #2499): new partitioned files in object storage tables go under data/<hash>/<partition>/ by default. If write.data.path is outside the table location, new paths in these tables also include the last two parts of the table location, usually the namespace and table name. Existing files do not move.
  • Delete file size (#2528): equality delete and V2 position delete files have their own 64 MiB target, set by write.delete.target-file-size-bytes.
  • SQL catalog namespaces (#2390): ListNamespaces returns only direct children, and a namespace with children cannot be dropped.
  • Snapshot and commit metrics (#2352, #2666): snapshot summaries count deletion vectors separately from position delete files, and the OpenTelemetry commit totals are now gauges.
  • KMS factories (#2296): encryption.KMSFactory functions now take a context.

Known Issues🔗

The release vote listed these issues, which are in 0.8.0 and will be fixed in a later release:

New Contributors🔗

Welcome to all 24 first-time contributors: @eneskeles, @sevbanbayrak, @CaptainAni187, @itsbilal, @SLoeuillet, @1fanwang, @richiebachala, @wroever, @Goodnight77, @ilidemi, @nirajan1111, @saurabhojha, @Anurag-S1ngh, @Dem1241, @akritishakya, @Shruthirdy, @AnirudhSriram, @ShivamSharma43, @slfan1989, @AynSiddiqui, @slachiewicz, @rahulsmahadev, @nisan1101, @EugeneYushin

Getting Involved🔗

The iceberg-go project welcomes contributions. We use GitHub issues for tracking work and the Apache Iceberg Community Slack for discussions.

The easiest way to get started is to:

  1. Try iceberg-go with your workloads and report any issues you encounter
  2. Review the contributor guide
  3. Look for good first issues

For more information, visit the iceberg-go repository.

阅读记录仅保存在当前浏览器,用于「为你」推荐。管理阅读记录

这篇内容对你有用吗?

反馈只用于改善内容筛选,不等同于收藏

分享这条资讯
分享海报
保存图片
iOS 也可以长按图片保存