Skip to content

API, Core, Spark: Add Hilbert-curve clustering strategy for rewrite_data_files - #16827

Merged
RussellSpitzer merged 16 commits into
apache:mainfrom
GGraziadei:hilbert
Aug 25, 2026
Merged

RussellSpitzer merged 16 commits into
apache:mainfrom
GGraziadei:hilbert

Conversation

@GGraziadei

@GGraziadei GGraziadei commented Jun 15, 2026 •

Copy link
Copy Markdown
Member

This PR lets you cluster table data along a Hilbert space-filling curve when compacting files, a new option alongside the existing Z-order strategy.

Just run:

CALL system.rewrite_data_files(
  table => 'db.tbl',
  strategy => 'sort',
  sort_order => 'hilbert(c1, c2)'
);

Why Hilbert? When you sort multi-column data onto a single curve, the goal is for rows that are close in your columns to land close together on disk, so queries with range filters can skip more files. Hilbert curves do this better than Z-order because they never make the big "jumps" across space that Z-order does neighbouring points on the curve are always true neighbours in the data. In practice, that means tighter clustering and better data skipping for queries that filter on several columns at once.

Under the hood, the change is small and low-risk: it reuses Iceberg's existing, well-tested Z-order byte encodings and only adds the curve math on top, following the standard algorithm from J. Skilling, "Programming the Hilbert curve" (AIP Conf. Proc. 707, 381, 2004; https://doi.org/10.1063/1.1751381). The Z-order code is left untouched. Scope is limited to Spark 4.1 first, backport to 4.0 to follow for now (other engines fall back gracefully), and the change ships with full test coverage including curve-correctness checks (bijection + neighbour-locality), runner/action/SQL tests, and a JMH benchmark.

The companion document: https://docs.google.com/document/d/1zIvnqcjG1qnHvNYnOacx3baykE4JPlJbmwe6u7ALlHc/edit?usp=sharing

A comparison of Z-Order vs Hilbert TPC-H SF10 1 row group per file: https://docs.google.com/document/d/1b7TCuotV-zqTwzW0C9hqmcvQntlbuhXPLMmV8RguFTI/edit?usp=sharing

JHM Memory allocation profile #16827 (comment)

@GGraziadei GGraziadei changed the title Add Hilbert-curve clustering strategy for rewrite_data_files API, Core, Spark: Add Hilbert-curve clustering strategy for rewrite_data_files Jun 15, 2026
@GGraziadei

Copy link
Copy Markdown
Member Author

Benchmarck

Ran the end-to-end comparison Z-Order vs Hilbert.

Here the report: https://docs.google.com/document/d/1b7TCuotV-zqTwzW0C9hqmcvQntlbuhXPLMmV8RguFTI/edit?usp=sharing

TPC-H SF10 lineitem, same source data and clustered columns in both arms, 58 files rewritten into 98. The queries are the stock TPC-H ones with predicates slightly extended to filter on all three multidimensional index columns — the originals lean on single-column filters and wouldn't exercise the case this change targets. Identical queries in both arms, and each one is run 10 times.

  • Files scanned: 16/98 (Z-order) vs 11/98 (Hilbert) a 31.25% reduction, consistent across all six queries. Planning-time measurement, so it's deterministic rather than timed; the repeats don't affect it.
  • Rewrite: 169.8 s vs 196.0 s, +15.4% for Hilbert. Breaks even after ~18 query passes.

Caveats I'd rather state up front than defend later:

Query latency was 12–38% lower for Hilbert, but I wouldn't quote those numbers as evidence. The 10 repeats are what makes that clear: Z-order's coefficient of variation lands at 20–52% against Hilbert's 3–11%, and swap was near-exhausted for the duration of the run. A clustering change shifts the mean, not the variance, so that asymmetry is the platform rather than the algorithm. On most queries the gap sits inside one standard deviation.

The pairwise file overlap metric ranks Hilbert worse while the actual scan set ranks it better. Section 5 of the report argues the metric is the unreliable one, but that's an argument rather than a demonstration.

On file size: 16 MB, chosen to get enough files for the comparison to be resolvable on a laptop. Worth being precise about what this does and doesn't limit. The report isn't trying to identify an optimal file size, and TPC-H is scale-invariant, scaling the dataset and the file size together (say SF100 at 160 MB) gives the same 98 files over the same key-space distribution, so the pruning ratio should carry over. What wouldn't carry over is holding SF10 fixed and moving to 256 MB files: that leaves a handful of files, and neither curve would have the granularity to express a 31% difference. The measurement is of the algorithms' clustering behaviour, not of a production configuration.

I captured file counts but not scanned bytes, easy to add on the next run.

Short version: the pruning improvement is real and well measured, the timing improvement is plausible but unproven, and the magnitudes hold for a fixed file count rather than a fixed file size. Let me know if you'd want the scaled run before this progresses.

@nssalian

Copy link
Copy Markdown
Collaborator

Hey @GGraziadei thank you for this. I took some time to look at this and here are some high level suggestions:

  1. Adding a new public sort strategy to the RewriteDataFiles API is a design decision, not just an implementation, so it'll want community buy-in before a deep review. I know you sent a note to the list, but if you have a document that would help ground a lot of what you are proposing i.e. the motivation, the benefit, etc. There's longstanding prior interest here (see How to use Hilbert curves feature? #3836). Worth getting something concretely written and linking it here if you haven't already.

  2. Docs: docs/docs/spark-procedures.md documents zorder(...) in the sort_order row and has an options section for the zorder sort strategy, but there's no hilbert equivalent yet. This would need to be added.

  3. Spark version scope: This only touches spark/v4.1, but v4.0 is also supported. Developing in the latest version first is fine, but could you state the intent explicitly in the PR description (e.g. "4.1 first, backport to 4.0 to follow") so the scope reads as intentional?

  4. Hilbert.java is currently identical to Zorder.java. Mirroring is the right call for now; a shared base class is worth considering, but I'd leave that as a follow-up rather than block this PR on it.

  5. Benchmarks. I appreciate how candid the benchmark writeup is. The file-pruning result (16 → 11 files scanned, deterministic planning-time measurement) is the one I'd lead with. The latency numbers are confounded by
    the swap-thrashing you noted (Z-order CoV 20-52% vs Hilbert 3-11%), so I'd either drop them or reproduce on a box that isn't swapping, and capture scanned bytes as well as file counts. A rerun at a fixed file count would make the pruning claim airtight.
    One more measurement that would be compelling if it's feasible: whether the tighter clustering reduces write amplification on subsequent upserts - i.e., a MERGE/copy-on-write touching fewer data files because updated
    rows are more localized than under z-order. It's data-dependent (only when the merge keys align with the clustering columns), but it would speak directly to a real-world benefit beyond read pruning.

  6. SparkHilbertUDF serialization. The transient ThreadLocal + readObject re-init pattern matches SparkZOrderUDF, so this looks right. Since the UDF ships to executors, can you just confirm testHilbertSort actually exercises a multi-partition shuffle so we know the reused buffer round-trips after deserialization?

return ZOrderByteUtils.interleaveBits(transposedBytes, numColumns * bytesPerColumn, reuse);
}

// please refer to the paper

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably would be worth having a citation here :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Russell, thanks for checking the code.

I am adding the reference to J. Skilling, "Programming the Hilbert curve" (AIP Conf. Proc. 707, 381, 2004; https://doi.org/10.1063/1.1751381)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll go through the rest later, just skimmed by and it looked solid to me. I'm off next week though

@github-actions github-actions Bot added the docs label Aug 1, 2026
@GGraziadei

Copy link
Copy Markdown
Member Author

Hi @nssalian ,

Thank you again for your message and for taking the time to review this PR.

Starting with your first point, thank you for bringing it up. I have prepared a design document and shared it here https://docs.google.com/document/d/1zIvnqcjG1qnHvNYnOacx3baykE4JPlJbmwe6u7ALlHc/edit?usp=sharing . I've also linked it from the PR description to provide more context around the motivation and expected benefits of introducing Hilbert as a new public sort strategy.
For now, I have granted comment access to the document. If anyone would like to contribute directly, please let me know your email address and I'll be happy to grant editing permissions. I hope this helps gather feedback and encourages further discussion from the community.

Regarding the documentation, thanks for pointing that out. I have updated the PR description to explicitly state "4.1 first, backport to 4.0 to follow." I also added the reference, as suggested by Russell, to the Hilbert algorithm implementation used as the basis for this PR. In addition, I updated docs/docs/spark-procedures.md to include the hilbert(c1,c2,....,cn) sort strategy. If the API grammar changes during the design discussion, I'll update the documentation accordingly.

Now, moving on to the technical points.

  1. SparkHilbertUDF serialization

Confirmed testHilbertSort exercises a genuine multi-partition shuffle on executors, so readObject is executed.

The test forces TARGET_FILE_SIZE_BYTES to half the average file size and asserts that more than 40 output files are written from a single file group https://github.com/apache/iceberg/pull/16827/changes#diff-3f078bcb19378f3b0e2fd46061c5ddecf34f751da6d6ef97ed9f78b9d65817fbR1873-R1882. SparkShufflingFileRewriteRunner derives the shuffle width directly from this (numShufflePartitions = Math.max(1, expectedOutputFiles * numShufflePartitionsPerFile)), resulting in approximately 40 shuffle partitions rather than a single partition.

  1. Benchmark

I completely agree that I can rerun the benchmarks under more controlled conditions, and I'm happy to do so.

That said, I believe the overall trend is already quite clear. Beyond the experimental results, there is also strong theoretical support in the literature demonstrating that Hilbert curves provide better locality preservation than Z-order. The mathematical properties of Hilbert space-filling curves have been studied extensively, and they explain why the observed improvements are expected rather than accidental.

There is also practical evidence from the data lake ecosystem: both Delta and Apache Hudi already provide Hilbert-based clustering implementations. While every implementation has its own design choices, I think their adoption provides additional confidence that this is a meaningful optimization to explore in Iceberg as well.

Regarding the suggestion to report the exact number of scanned bytes, I mentioned my reasoning previously on the dev@ thread, but I'll summarize it here as well.

In my opinion, scanned bytes are highly dependent on the storage layout and the specific Hadoop implementation. I would prefer not to introduce additional variables that could add noise to the evaluation.

In these benchmarks every data file is approx 16 MB and contains a single parquet row group. Because of the way Spark reads files, once a row group is selected it is read in its entirety. As a consequence, the number of scanned bytes is effectively proportional to the number of scanned files, making it straightforward to derive one metric from the other by multiplying by the file size.

If we want to investigate the impact of Parquet configuration parameters such as row-group sizing, page indexes, or different row-group counts per file, I think that deserves a separate discussion or follow-up issue. Those are interesting optimization topics on their own, but for this proposal I'd prefer to keep the scope focused on evaluating the geometric clustering strategy itself.

Your suggestion about measuring the impact on MERGE/copy-on-write operations is an excellent one.
You're absolutely right that this is currently missing from the benchmark suite, and I plan to add it.

To keep the scope manageable while still producing a meaningful comparison, I'll initially focus on metrics such as the number of deleted data files during copy-on-write operations. I think this is a good proxy for write amplification and should provide a practical way to evaluate whether improved clustering translates into less data rewriting during updates.
If the results are encouraging, we can always extend the benchmark suite with additional write-path metrics in a follow-up.

Thanks again for the thoughtful review and for all the suggestions.

import java.util.Arrays;
import java.util.List;

public class Hilbert implements Term {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine for now, but we'll probably want a "MultiColumnTerm" or something like that in the future. That can wait though until we start doing more complicated work with expressions I think.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I formalized these points in the issue below, incorporating also the Neelesh's feedback and condensing the main takeaways:

#17657

@GGraziadei

Copy link
Copy Markdown
Member Author

Hi @RussellSpitzer @manuzhang @nssalian
Thanks for the review and contributions! I've just pushed a commit to address your points:

  • Extended test coverage to 3d and 4d
  • Opened follow-up issues, grouping related comments into the same scope. Since these derive from the ZOrder implementation, fixing them will improve ZOrder as well
  • Minors and nits

@gimgit

gimgit commented Aug 20, 2026

Copy link
Copy Markdown

Nice writeup — the neighbour-locality argument over Z-order is well made, and reusing the existing Z-order byte encodings keeps the surface small. One design question from adjacent work (#17504, overlap-based selection):

  1. Re-selection after clustering degrades. The Hilbert runner plugs into the same size-based planner as sort/zorder, so once a table is Hilbert-clustered and its files sit in the healthy size band, newly ingested files that overlap in curve space are invisible to selection — rewrite_data_files reports rewritten=0 as success and clustering quietly degrades (Sort/z-order compaction permanently no-ops on size-healthy but badly-clustered tables — no way to detect or select by overlap #17489 shows this for linear sort). For linear orders, bounds on the first sort field give a cheap detection signal (Core, Spark 4.1: Measure and select sort-key file overlap for rewrite #17504). For Hilbert, per-column bounds get wide by construction, so I don't see an obvious metadata-only signal for "this table needs re-clustering". Does the companion doc have thoughts on detecting when a Hilbert rewrite is due, as opposed to how to perform it? Even a rough curve-space health metric would make the strategy operable long-term, not just at initial layout.

  2. Small one: SparkHilbertUDF reuses a ThreadLocal<byte[][]> holder and re-initializes it in readObject — same pattern as the Z-order UDF, looks right. Did the JMH run compare against Z-order interleaving on the same inputs? A one-line relative number in the PR body would help reviewers weigh the added curve math.

@GGraziadei

GGraziadei commented Aug 20, 2026 •

Copy link
Copy Markdown
Member Author

JMH: Hilbert curve math vs Z-order interleaving

Answering the question about whether the JMH run compares against Z-order interleaving on the same inputs, and the request for a relative number. It does, and the figures are below.

Method

HilbertByteUtilsBenchmark and ZOrderByteUtilsBenchmark are structurally matched: identical NUM_ENTRIES = 10_000_000, identical new Random(42) seed, identical setup loop. Both arms therefore see byte-for-byte identical input, and both were executed in a single JMH invocation so they share one JIT and GC context.

JMH 1.37 · JDK 17.0.19 · 1 fork · 1 thread · SingleShotTime
5 warmup + 15 measurement iterations · -Xmx8g · gc profiler
1 op = one pass over 10M rows, 64 bits per column

Two measurement caveats are worth stating up front, because both distort results badly enough to invert conclusions.

Warmup. The committed benchmark classes declare no @Warmup and only 5 iterations. Measured that way, confidence intervals reach ±43%.

The stack profiler perturbs allocation accounting. Its sampling thread allocates, and the gc profiler attributes JVM-wide allocation to the benchmark. Running the unmodified Z-order benchmark under three configurations makes the size of the effect concrete:

Z-order, 4 cols, identical code allocated
no warmup, gc only 396 MB/op
warmup, gc + stack 4.03 MB/op
warmup, gc only 6 570 B/op

Only the last figure reflects the code. Every allocation number below was collected with warmup, 15 iterations and the gc profiler alone.

1. Time

s/op, lower is better
2 cols  Hilbert  ████████████████████████▏                 14.64
        Z-order  ██████▏                                    3.71
3 cols  Hilbert  ███████████████████████████████▌          19.09
        Z-order  █████████                                  5.43
4 cols  Hilbert  ██████████████████████████████████████    22.88
        Z-order  ████████████▏                              7.45
Columns Hilbert (s/op) Z-order (s/op) Ratio Added cost
2 14.644 ± 0.447 3.707 ± 0.119 3.95x +1.09 µs/row
3 19.094 ± 0.512 5.433 ± 0.100 3.51x +1.37 µs/row
4 22.881 ± 0.537 7.452 ± 0.278 3.07x +1.54 µs/row

hilbertIndex costs 3.1–4.0x a pure Z-order interleave on identical inputs. This is a structural rather than incidental result: hilbertIndex issues the same ZOrderByteUtils.interleaveBits call and adds axesToTranspose on top, so the ratio is precisely the price of the curve transform. The ratio decreases with dimensionality because the interleave grows linearly in the number of columns while the transpose does not.

2. Attribution

Stack profiler, 4 columns, percentages of RUNNABLE thread state.

Hilbert                                Z-order
axesToTranspose      ██████ 30.8%      interleaveBits   ██████████ 49.8%
interleaveBits       ███ 15.1%         unattributed     ██████████ 50.0%
hilbertIndex         ▌ 3.1%
read/writeBigEndian  ▏ 0.8%
unattributed         ██████████ 50.0%

Within Hilbert the curve transform costs approximately twice the interleave it wraps (30.8% versus 15.1%), which corroborates the ~3x aggregate through an independent measurement path. Half the samples are unattributed, which is expected for a sampling profiler against inlined frames; these proportions should be read as indicative rather than exact.

3. Allocation

hilbertIndex allocated a long[numColumns] and a new byte[numColumns][bytesPerColumn] per invocation, i.e. per row, while the output ByteBuffer was already correctly reused. At four columns that is six objects per row and 60M objects per pass.

Measured at four columns on b3880e289 (before) and 7ff5332ef (after), both with warmup, 15 iterations and the gc profiler alone:

bytes per op, log10 scale
before  Hilbert  ███████████████████████████████████        1.76 GB
after   Hilbert  ██████████████▌                             6.7 KB
        Z-order  ██████████████▌                             6.6 KB
4 columns Time (s/op) Allocated GC pauses
Hilbert, before 23.558 ± 0.167 1.760 GB/op 8
Hilbert, after 22.881 ± 0.537 6 743 B/op 0
Z-order — unchanged reference 7.572 ± 0.184 6 570 B/op 0

The Z-order row is a fixed reference point, not a before/after: this PR does not touch Z-order, and its 6 570 B/op is JMH's own per-op baseline. Hilbert now sits on that same baseline.

The remedy is an overload accepting caller-owned scratch — the same reuse convention ZOrderByteUtils applies throughout — with SparkHilbertUDF holding it in the ThreadLocals it already maintains. The three-argument overload is unchanged and still allocates, so no existing caller is affected.

Hilbert now allocates no more than Z-order, and neither triggers a single garbage collection across 10M rows — down from 8 collections per pass.

4. Interpretation and limits

  • The allocation fix buys little time here: 23.558 → 22.881 s/op at four columns, about 2.9%, with intervals that nearly touch. That is the expected outcome — the objects were short-lived and young-generation-cheap. Its value is in removing 8 GC pauses per pass and in not depending on the JIT to elide the allocations, which matters more under the concurrent, less predictably-inlined conditions of a real Spark rewrite than in a single-threaded micro-benchmark. Only four columns was re-measured under the clean configuration; earlier two- and three-column before/after deltas were collected with the stack profiler active and are withdrawn.
  • The 3x applies to the combine step in isolation. In an end-to-end rewrite that step is a minor term next to I/O, shuffle, and the per-column ordered-byte conversion. The measured end-to-end penalty is +15.4% (169.8s → 196.0s), and the gap between 3x and 15.4% is itself evidence that the combine does not dominate.
  • Absolute values are machine-specific. These were collected on a developer workstation with other applications resident. Since both arms executed in the same fork against the same inputs, the Hilbert-to-Z-order ratio is the robust quantity; the absolute s/op figures are not.

@GGraziadei

Copy link
Copy Markdown
Member Author

Hi @gimgit,
Thanks for your question helped to improve drastically the quality of this work.

I would like to start from point 2. I measured and compared the memory allocation with a profiler, and I reported the results here: #16827 (comment) (Claude helped me put together a quick report).

While conducting this analysis, I was already aware that the main cost was the transpose operation and that it was not buffered. I then buffered the transpose, which significantly improved memory allocation: from 1.7 GB/op before buffering to only ~6.7 KB/op afterward as for ZOrder. The improvement is impressive, thanks a lot for focusing on this point!

Regarding point 1, I want to clarify something. I really appreciate your PR effort here, because this is exactly what allows us to track the quality of the clustering strategy.

The real metric for evaluating cluster quality is locality. In my mind, this can be understood as the variance in density across clusters. This is where I see the real advantage of Hilbert over Z-order.
So your question is absolutely correct: how do we trigger this? I will open an issue and address it in a separate PR once this one is merged.

@gimgit

gimgit commented Aug 21, 2026

Copy link
Copy Markdown

Nice — 1.7 GB/op to ~6.7 KB/op from buffering the transpose is a great outcome, and the matched-arm JMH setup (same seed, single invocation) makes the 3-4x curve cost a number reviewers can actually trust. Glad the question was useful.

On locality-as-density-variance: that framing makes sense for space-filling curves, and it's a better fit than per-column bounds there. Looking forward to the follow-up issue — happy to compare notes with the linear-order detection in #17504 once it's up.

@RussellSpitzer

Copy link
Copy Markdown
Member

Great Catch, do we have any other feedback from reviewers here? Remember we always can do followups

@GGraziadei

Copy link
Copy Markdown
Member Author

Hi @RussellSpitzer, following my profiler analysis, I have a quick note regarding bit interleaving. Since it intersects with Zorder as well, I've opened a separate issue for it. We can keep this thread moving asynchronously:
#17758

@RussellSpitzer

Copy link
Copy Markdown
Member

@nssalian and @gimgit Any remaining comments?

@nssalian nssalian left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go for now. Thanks @GGraziadei. Would you mind leaving a note here or in the description about what follow up items remain so we can track it in follow up PRs. A general sense is fine doesn't have to be exact PR breakdowns.

@GGraziadei

GGraziadei commented Aug 24, 2026 •

Copy link
Copy Markdown
Member Author

Hi @nssalian, thanks for your comment, it helped clarify the feature. Here are the next steps I’m planning:

@gimgit

gimgit commented Aug 25, 2026

Copy link
Copy Markdown

No remaining comments from me. Both points I raised were addressed — the benchmark report answered the cost question (and the transpose buffering that came out of it was a nice win), and the re-clustering detection question is deferred to a follow-up issue, which I think is the right call. LGTM.

@RussellSpitzer
RussellSpitzer merged commit 65f6e74 into apache:main Aug 25, 2026
41 checks passed
@RussellSpitzer

Copy link
Copy Markdown
Member

Merged, Thanks @GGraziadei for all your work on this and thank you to @nssalian and @gimgit for your work on reviews.

robert3005 added a commit to spiraldb/iceberg that referenced this pull request Sep 16, 2026
* Build: Bump actions/stale from 10.4.0 to 11.0.0 (#17576)

Bumps [actions/stale](https://github.com/actions/stale) from 10.4.0 to 11.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/1e223db275d687790206a7acac4d1a11bd6fe629...4391f3da665fdf50b6810c1a66712fb9ba21aa93)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 11.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump zizmorcore/zizmor-action from 0.6.1 to 0.6.2 (#17575)

Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/6fc4b006235f201fdab3722e17240ab420d580e5...3dc1ecc9bcb9e94e9b2c709687979e1298497054)

---
updated-dependencies:
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump gradle/actions/setup-gradle from 6.2.0 to 6.3.0 (#17574)

Bumps [gradle/actions/setup-gradle](https://github.com/gradle/actions) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/3f131e8634966bd73d06cc69884922b02e6faf92...9c971963bec38e04b3d30dcc455b5382be2fdbfb)

---
updated-dependencies:
- dependency-name: gradle/actions/setup-gradle
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump actions/setup-java from 5.6.0 to 5.7.0 (#17573)

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/03ad4de0992f5dab5e18fcb136590ce7c4a0ac95...b6effb05e454b25005698d916606bdc6ffcbf961)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 5.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump com.diffplug.spotless:spotless-plugin-gradle from 8.8.0 to 8.9.0 (#17569)

Build: Bump com.diffplug.spotless:spotless-plugin-gradle

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 8.8.0 to 8.9.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/8.8.0...gradle/8.9.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-version: 8.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump the codeql-action group with 3 updates (#17572)

Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.3 to 4.37.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81...f205ea1c3313d32999d8d6a48b4f6530d4437b38)

Updates `github/codeql-action/analyze` from 4.37.3 to 4.37.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81...f205ea1c3313d32999d8d6a48b4f6530d4437b38)

Updates `github/codeql-action/upload-sarif` from 4.37.3 to 4.37.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81...f205ea1c3313d32999d8d6a48b4f6530d4437b38)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Data, Spark: Support byte[] binary values in InternalRowConverter (#17482)

* Flink: Reuse the catalog in the dynamic sink serializer cache (#17437)

* Flink: Fix read split table properties being ignored (#17445)

* Flink: Remove unused logger in TestIcebergCommitter (#17587)

* Flink: Backport dynamic sink serializer cache catalog reuse to 2.0 and 1.20 (#17437) (#17590)

* Flink: Avoid per-row field getter allocation in RowDataWrapper (#16789)

* Flink: Backport read split table properties fix to 2.0 and 1.20 (#17445) (#17591)

* Flink: Backport avoid per-row field getter allocation in RowDataWrapper (#17606)

Backports #16789

* Core, REST: Fix delete file references for DVs in the same Puffin file (#17497)

Motivation: Scan planning responses index delete files by position in the delete-files array.
The index map was keyed on the delete file location alone, but a single Puffin file can hold a deletion vector for each of several data files. Every DV in that file shares a location, so each new DV entry overwrote the previous one and every task referencing a DV in that Puffin file resolved to the same last index.

Changes: Extract DeleteFileSet's private wrapper into a public DeleteFileWrapper, mirroring CharSequenceWrapper, and key the index map on it so serialization uses the same delete file identity that builds the delete-files array.
Fail with a clear message when a task references a delete file that is not in that array.

* Docs: Document missing read table properties in configuration (#17554)

Add read.split.adaptive-size.enabled, read.data-planning-mode, and read.delete-planning-mode to the read properties table with their defaults and accepted values.

* Core: Support metrics with nested field in AppendBenchmark and FileGenerationUtil (#17391)

* Core: Add nested field traversal in AppendBenchmark and FileGenerationUtil

* expand testBoundsForNestedTypes to cover all metricsMode

* Core: Resolve metrics mode by field id in FileGenerationUtil

Use MetricsConfig.columnMode(int) instead of manually resolving the
column name via Schema.findColumnName. The int overload performs the
same id-to-name lookup internally and correctly handles column aliases,
removing duplicated logic across the generator and its test.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix schema used in UT

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>

* Core: Include CRC values in DV deserialization error message (#17393)

* Site: Add blog post introducing the Variant type (#17537)

* Core: Add max-file-group-input-files to valid rewrite options (#17544)

max-file-group-input-files is read and validated by
SizeBasedFileRewritePlanner but was missing from validOptions(), so
RewriteDataFilesSparkAction rejected it with "Cannot use options
[max-file-group-input-files]". Flink exposes the option through
RewriteDataFiles.maxFileGroupInputFiles() where it works, while Spark
rejected it. The option was added in #14837 without updating validOptions().

Add the option to validOptions() and cover it with a rewrite that sets it,
which fails without this change, plus a planner test that it caps the number
of input files per group.

* API: Respect plaintext files in EncryptingFileIO bulkDecrypt (#17592)

* Respect plaintext files in EncyptingFileIO bulkDecrypt

* unit tests

---------

Co-authored-by: Thomas Powell <[email protected]>

* Core: Fix AvroEncoderUtil header error printing literal %02X (#17125)

AvroEncoderUtil.decode validated the magic bytes with
Preconditions.checkState(cond, "Unrecognized header bytes: 0x%02X 0x%02X",
header0, header1). Guava's Preconditions formats messages with
Strings.lenientFormat, which only understands the %s placeholder, so the
%02X specifiers were emitted verbatim and the two byte arguments were
appended as decimal in a trailing bracket. A mismatched header therefore
reported "Unrecognized header bytes: 0x%02X 0x%02X [16, 32]" instead of the
intended hex, obscuring the actual bytes.

* Flink: Remove deprecated RewriteDataFiles.Builder.filter(Expression) (#17624)

* Core: Fix Z-order byte encoding for floating-point values (#17071)

Thanks @eye-gu for the Fix!

* Parquet: Fix notNaN for columns missing from files (#17633)

* Spark: Remove deprecated and unused methods in SparkRead/WriteConf and SparkSchemaUtil (#17626)

Spark: Remove deprecated methods scheduled for 1.12.0 removal

- SparkSchemaUtil.convertWithFreshIds(Schema, StructType) and
  prune(Schema, StructType, List<Expression>) in Spark 4.0 and 4.1
- SparkReadConf/SparkWriteConf constructors taking an unused branch
  argument in Spark 4.1

Spark 3.5 is unaffected: these overloads were never deprecated there.

* Site: Update the variant blog with Apache Arrow variant support (#17640)

* Data: Add Variant Support for file format tck (#17617)

* Core: Call close on iterables returned by ManifestReader.liveEntries() in ManifestFilterManager (#15713)

* Parquet, Spark, Flink: Type uniformity for variant shredding (#17424)

* API: Avoid intermediate collections in IN predicate metrics evaluation (#17659)

* Core: Always track null count in content stats, add evaluator (#17413)

* API: Avoid intermediate collections in NOT IN strict metrics evaluation (#17661)

* Core: Use TrackedFile constants for partition and content_stats fields (#17649)

Replace the duplicated field ID and name literals with the constants that
TrackedFile already declares, which both files use elsewhere.

* Kafka Connect: Remove deprecated TableReference and IcebergWriterResult members (#17623)

Deprecated for removal in 1.12.0:
- TableReference.of(String, TableIdentifier) and the
  TableReference(String, List<String>, String) constructor
- IcebergWriterResult(TableIdentifier, List, List, StructType) and
  IcebergWriterResult.tableIdentifier()

Callers now construct a TableReference with an explicit table UUID; the
two tests pass null to preserve their previous behavior.

* BigQuery: Remove deprecated catalog property constants (#17625)

PROJECT_ID, GCP_LOCATION and LIST_ALL_TABLES on
BigQueryMetastoreCatalog were deprecated for removal in 1.12.0 in favor
of the equivalents on BigQueryProperties. No remaining callers.

* API: Add Javadoc for the Metrics constructor parameters (#17608)

* API: Add Javadoc for the Metrics constructor parameters

Document each parameter of the canonical Metrics constructor, including that the maps and counts may be null when unknown.

* Update api/src/main/java/org/apache/iceberg/Metrics.java

Co-authored-by: Anoop Johnson <[email protected]>

* Fix format

* Followup changes

---------

Co-authored-by: Anoop Johnson <[email protected]>

* Build: Bump datamodel-code-generator from 0.71.0 to 0.72.2 (#17673)

Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.71.0 to 0.72.2.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/koxudaxi/datamodel-code-generator/compare/0.71.0...0.72.2)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.72.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump org.apache.httpcomponents.client5:httpclient5 from 5.6.3 to 5.6.4 (#17674)

Build: Bump org.apache.httpcomponents.client5:httpclient5

Bumps [org.apache.httpcomponents.client5:httpclient5](https://github.com/apache/httpcomponents-client) from 5.6.3 to 5.6.4.
- [Changelog](https://github.com/apache/httpcomponents-client/blob/rel/v5.6.4/RELEASE_NOTES.txt)
- [Commits](https://github.com/apache/httpcomponents-client/compare/rel/v5.6.3...rel/v5.6.4)

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents.client5:httpclient5
  dependency-version: 5.6.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump at.yawk.lz4:lz4-java from 1.11.1 to 1.11.2 (#17675)

Bumps [at.yawk.lz4:lz4-java](https://github.com/yawkat/lz4-java) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/yawkat/lz4-java/releases)
- [Changelog](https://github.com/yawkat/lz4-java/blob/main/CHANGES.md)
- [Commits](https://github.com/yawkat/lz4-java/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: at.yawk.lz4:lz4-java
  dependency-version: 1.11.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump org.roaringbitmap:RoaringBitmap from 1.6.18 to 1.6.20 (#17677)

Bumps [org.roaringbitmap:RoaringBitmap](https://github.com/RoaringBitmap/RoaringBitmap) from 1.6.18 to 1.6.20.
- [Release notes](https://github.com/RoaringBitmap/RoaringBitmap/releases)
- [Commits](https://github.com/RoaringBitmap/RoaringBitmap/commits)

---
updated-dependencies:
- dependency-name: org.roaringbitmap:RoaringBitmap
  dependency-version: 1.6.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump jetty from 12.1.11 to 12.1.12 (#17678)

Bumps `jetty` from 12.1.11 to 12.1.12.

Updates `org.eclipse.jetty.compression:jetty-compression-server` from 12.1.11 to 12.1.12

Updates `org.eclipse.jetty.compression:jetty-compression-gzip` from 12.1.11 to 12.1.12

Updates `org.eclipse.jetty.ee10:jetty-ee10-servlet` from 12.1.11 to 12.1.12

---
updated-dependencies:
- dependency-name: org.eclipse.jetty.compression:jetty-compression-server
  dependency-version: 12.1.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.compression:jetty-compression-gzip
  dependency-version: 12.1.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.ee10:jetty-ee10-servlet
  dependency-version: 12.1.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump io.netty:netty-buffer from 4.2.16.Final to 4.2.17.Final (#17679)

Bumps [io.netty:netty-buffer](https://github.com/netty/netty) from 4.2.16.Final to 4.2.17.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.2.16.Final...netty-4.2.17.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-buffer
  dependency-version: 4.2.17.Final
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump the codeql-action group with 3 updates (#17681)

Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.4 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...5595ccaf912efad79be6eef63a5619ff05969be3)

Updates `github/codeql-action/analyze` from 4.37.4 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...5595ccaf912efad79be6eef63a5619ff05969be3)

Updates `github/codeql-action/upload-sarif` from 4.37.4 to 4.37.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f205ea1c3313d32999d8d6a48b4f6530d4437b38...5595ccaf912efad79be6eef63a5619ff05969be3)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docs: Update Apache Fluss documentation link to correct path (#17647)

* Arrow: Fix direct memory leak in row lineage vectorized readers (#17296)

Co-authored-by: Angel Conde <[email protected]>

* Build: Bump software.amazon.awssdk:bom from 2.50.2 to 2.51.3 (#17686)

Bumps software.amazon.awssdk:bom from 2.50.2 to 2.51.3.

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.51.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump com.google.cloud.gcs.analytics:gcs-analytics-core from 1.4.0 to 1.5.0 (#17687)

Build: Bump com.google.cloud.gcs.analytics:gcs-analytics-core

Bumps [com.google.cloud.gcs.analytics:gcs-analytics-core](https://github.com/GoogleCloudPlatform/gcs-analytics-core) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/GoogleCloudPlatform/gcs-analytics-core/releases)
- [Changelog](https://github.com/GoogleCloudPlatform/gcs-analytics-core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GoogleCloudPlatform/gcs-analytics-core/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: com.google.cloud.gcs.analytics:gcs-analytics-core
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Parquet: Fix notStartsWith skipping row groups with null values (#17656)

The dictionary row group filter only sees non-null values, so a column whose
  dictionary entries all start with the prefix was reported as unmatchable even
  when the column contained nulls. Null values match notStartsWith, so those row
  groups were skipped and their rows dropped from scan results.

* API: Extract superclass from StrictMetricsEvaluator (#17511)

Extract the strict evaluation logic from StrictMetricsEvaluator into a new
superclass, StrictEvalVisitor. StrictMetricsEvaluator now uses the visitor
superclass and implements methods to access metrics by ID. This is in
preparation for adding a strict stats visitor that consumes ContentStats
directly.

* Core: Preserve snapshot pruning when ignoring residuals in AllManifestsTable (#17522)

* Core: Simplify PartitionData.hashCode to avoid per-call allocations (#17666)

* Core: Simplify list handling in manifest read and write paths (#17581)

* Spark: Remove deprecated SparkFilters (#17702)

SparkFilters converted Spark DSv1 filters into Iceberg expressions and was
deprecated as a class for removal in 1.12.0 in favor of SparkV2Filters,
which converts DSv2 predicates.

Nothing uses it. The only remaining references were its own test,
TestSparkFilters, which is removed with it, and a TODO comment in
TestRewriteDataFilesProcedure that named the class; that comment now points
at SparkV2Filters.

Applies to Spark 3.5, 4.0 and 4.1.

* Docs: Align Flink docs with current engine (#17695)

* Data: Remove deprecated GenericAppenderFactory and BaseFileWriterFactory (#17696)

* Spark: Reduce TestRewriteDataFilesAction data volume to speed up CI (#16565)

* Build: Remove unused Avro dependency from iceberg-orc (#17694)

* Core: Treat path prefixes as literals in RewriteTablePathUtil.replacePaths (#17521)

* Spark 4.0/4.1: Remove deprecated SparkTableUtil methods (#17703)

* Docs: Fix "refer" grammar in maintenance, AWS, and Nessie docs (#17580)

* Data, Kafka Connect: Enable Parquet variant shredding for Kafka Connect and generic Record writes (#17520)

* Core: Remove deprecated methods and fields scheduled for 1.12.0 removal (#17700)

* Core: Remove deprecated methods and fields scheduled for 1.12.0 removal

Removes the remaining core API marked for removal in 1.12.0 that has no
callers left:

- SystemProperties (class) -> SystemConfigs
- ThreadPools.newWorkerPool(String) and newWorkerPool(String, int) ->
  newExitingWorkerPool or newFixedThreadPool depending on pool lifetime
- ContentCache.invalidateAll(), which was only best-effort and racy
- TableProperties.MANIFEST_LISTS_ENABLED and MANIFEST_LISTS_ENABLED_DEFAULT;
  writing manifest lists is always enabled
- AvroSchemaUtil.pruneColumns(Schema, Set, NameMapping) -> applyNameMapping
  plus pruneColumns(Schema, Set)
- SnapshotUtil.newFiles and newFilesBetween -> SnapshotChanges with
  ancestorsBetween
- TableScanUtil.hasDeletes(CombinedScanTask) and hasEqDeletes(CombinedScanTask)
- StandardEncryptionManager(String, int, KeyManagementClient), wrapKey and
  unwrapKey
- ManifestFiles.read(ManifestFile, FileIO), readPaths(ManifestFile, FileIO)
  and open(ManifestFile, FileIO) -> the overloads taking a specs map
- BaseScan.io() -> table().io(); DataScan and BaseDistributedDataScan are
  migrated to call table().io() directly

Generated-by: Claude Code

* rename unit test in TestManifestReader

* Docs: Align Spark docs with current engine (#17688)

* AWS: Remove deprecated S3 signer classes and properties (#17627)

AWS: Remove deprecated S3 signer request/response classes

These five classes were deprecated for removal in 1.12.0 and are now
orphaned: they reference only each other and have no remaining callers
in main or test sources. S3V4RestSignerClient uses the RemoteSign*
equivalents.

- S3SignRequest, S3SignResponse
- S3SignRequestParser, S3SignResponseParser
- S3ObjectMapper

* Build: Fix OpenAPI test fixtures runtime dependency (#17519)

* Core: Remove deprecated DataReader in favor of PlannedDataReader (#17699)

DataReader was deprecated for removal in 1.12.0; PlannedDataReader is the
replacement. Also removes the deprecated RawDecoder constructor that took
a read schema and reader function, superseded by
RawDecoder.create(Schema, Function, Schema).

No remaining references to either. TestDataReader is removed along with
the class it covered; PlannedDataReader has its own coverage in
TestPlannedDataReader.

* API: Add tests for BinaryUtil (#17692)

* API: Add tests for BinaryUtil

Cover truncateBinary (partial, full, zero-length, and negative-length guard), the previously untested truncateBinaryUnsafe view, and truncateBinaryMax including the all-bytes-overflow case.

* More changes

* Arrow: Fix vectorized read of all-null DELTA-encoded Parquet pages (#17017)

An all-null page decodes to a length stream with totalValueCount 0, so
readValues wrote firstValue into a zero-length array.

* Data: Split BaseFormatModelTests into read and read-write test classes (#17711)

* AWS, Core: Implement RemoteSigningConfig  (#17709)

* Core, REST, AWS: Implement RemoteSigningConfig

* Flink: Support variant for Avro readers and writers (#17737)

* Docs: Fix duplicated word in Spark merge-schema description (#17746)

* Core: Remove deprecated REST namespace encoding helpers (#17697)

* Core: Remove deprecated REST namespace encoding helpers

Removes REST API deprecated for removal in 1.12.0:

- RESTUtil.NAMESPACE_JOINER / NAMESPACE_SPLITTER, superseded by
  namespaceToQueryParam(Namespace) / namespaceFromQueryParam(String)
- RESTUtil.encodeNamespace(Namespace) / decodeNamespace(String), superseded
  by the two-arg overloads that take an explicit separator
- RESTSessionCatalog.REST_PAGE_SIZE, superseded by
  RESTCatalogProperties.PAGE_SIZE
- CatalogHandlers.loadTable(Catalog, TableIdentifier), superseded by the
  overload taking a SnapshotMode

Javadoc on namespaceToQueryParam and encodeNamespace no longer cross-links
the removed single-arg encodeNamespace; the wording now describes the raw
versus percent-encoded separator directly.

* Core: Remove deprecated public ResourcePaths(String) constructor

The deprecation notice said this constructor would be made private in
1.12.0. It had no callers anywhere in the repo, so making it private
would leave an unused private constructor; remove it instead. Removal
and privatization are indistinguishable to external callers.

* Core: Address review feedback on deprecated REST API removal

Review feedback from nastra and singhpk234:

- Keep the decode separator in encodeAsOldClientAndDecodeAsNewServer
  hardcoded as "%2E". The test only needs a separator that differs from
  the legacy one; it does not have to be the one RESTCatalogAdapter
  advertises.
- Use "Removed deprecated functionality scheduled for removal in 1.12.0"
  as the revapi justification for all seven accepted breaks. The previous
  text claimed every break was part of the namespace encoding API, which
  was not true for REST_PAGE_SIZE, CatalogHandlers.loadTable and the
  ResourcePaths constructor.
- Drop the javadoc note on namespaceToQueryParam(Namespace, String). The
  separator is an explicit argument there, so warning that it differs from
  encodeNamespace adds nothing.
- Keep the note on the no-arg namespaceToQueryParam, which hides the
  separator, but point it at the surviving encodeNamespace(Namespace,
  String) overload. The distinction it warns about is real:
  namespaceToQueryParam joins raw levels, while encodeNamespace
  URL-encodes each level.

* Core: Use transaction metadata for post-commit file cleanup (#17708)

BaseTransaction resolved its newly committed snapshots through
ops.current(), a catalog re-read that can be stale when the catalog
caches table pointers. A missing snapshot made committedFiles return
null, skipping clean-up of all uncommitted files and leaking one stale
manifest list per commit retry attempt. The transaction's own committed
metadata always contains the new snapshots, so resolve them there.

* Core: Fail scans when position deletes/DVs don't match data file partition (#16957)

* Build: Bump mkdocs-exclude-search from 0.6.6 to 0.6.7 (#17775)

Bumps [mkdocs-exclude-search](https://github.com/chrieke/mkdocs-exclude-search) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/chrieke/mkdocs-exclude-search/releases)
- [Changelog](https://github.com/chrieke/mkdocs-exclude-search/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chrieke/mkdocs-exclude-search/compare/0.6.6...0.6.7)

---
updated-dependencies:
- dependency-name: mkdocs-exclude-search
  dependency-version: 0.6.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump datamodel-code-generator from 0.72.2 to 0.73.0 (#17776)

Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.72.2 to 0.73.0.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/koxudaxi/datamodel-code-generator/compare/0.72.2...0.73.0)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.73.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump io.delta:delta-standalone_2.12 from 3.3.2 to 3.3.3 (#17779)

Bumps [io.delta:delta-standalone_2.12](https://github.com/delta-io/delta) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/delta-io/delta/releases)
- [Commits](https://github.com/delta-io/delta/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: io.delta:delta-standalone_2.12
  dependency-version: 3.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump astral-sh/setup-uv from 9.0.0 to 10.0.1 (#17782)

Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 9.0.0 to 10.0.1.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/c771a70e6277c0a99b617c7a806ffedaca235ff9...20cfd1bf945f4377ade1205e4dbc17946fc9a30d)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump the codeql-action group with 3 updates (#17781)

Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/5595ccaf912efad79be6eef63a5619ff05969be3...ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd)

Updates `github/codeql-action/analyze` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/5595ccaf912efad79be6eef63a5619ff05969be3...ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd)

Updates `github/codeql-action/upload-sarif` from 4.37.6 to 4.37.7
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/5595ccaf912efad79be6eef63a5619ff05969be3...ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump io.delta:delta-spark_2.12 from 3.3.2 to 3.3.3 (#17780)

Bumps [io.delta:delta-spark_2.12](https://github.com/delta-io/delta) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/delta-io/delta/releases)
- [Commits](https://github.com/delta-io/delta/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: io.delta:delta-spark_2.12
  dependency-version: 3.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Parquet: Make createStructReader with fieldId abstract (#17698)

createStructReader(List, StructType) was deprecated for removal in 1.12.0
in favor of createStructReader(List, StructType, Integer). The 2-arg form
threw UnsupportedOperationException and the 3-arg form defaulted to
delegating to it, so neither was usable without an override.

Remove the 2-arg method and make the 3-arg form abstract. Both subclasses
(GenericParquetReaders, InternalReader) already override it, and
BaseParquetReaders is package-private so no other subclass can exist.

* Flink: Avoid per-record Set allocation in the dynamic sink forward check (#17618)

* Core: Include valid range in BasePartitionStatistics position error (#17546)

* Core: Include valid range in BasePartitionStatistics position error

Add the expected position range to the "Unknown position" errors thrown by getByPos and internalSet so the message points to the cause.

* Address review

* Build: Bump software.amazon.awssdk:bom from 2.51.3 to 2.53.1 (#17787)

Bumps software.amazon.awssdk:bom from 2.51.3 to 2.53.1.

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.53.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Docs: Add MinIO AIStor to vendors.md (#17760)

* Add MinIO AIStor section to vendors documentation

Added information about MinIO AIStor as a software-defined object store with Apache Iceberg support.

* Docs: note OAuth2 and credential vending in MinIO AIStor entry

* Docs: Add OptimaFlo to vendors.md (#17725)

Signed-off-by: evro <[email protected]>

* Core: Remove deprecated HadoopFileIO(SerializableSupplier) constructor (#17704)

The constructor taking a SerializableSupplier<Configuration> was
deprecated for removal in 1.12.0 in favor of HadoopFileIO(Configuration),
and has no remaining callers. Since it was the delegation target, its body
is inlined into the Configuration constructor.

Also drops @Deprecated from serializeConfWith. That method is declared by
the HadoopConfigurable interface, which is not deprecated, and it has five
live consumers: SerializationUtil, IcebergInputFormat (mr) and
SerializableFileIOWithSize in Spark 3.5, 4.0 and 4.1. Marking an override
of a supported interface method as deprecated is misleading, so the
annotation is removed rather than the method.

* Connect: Fix idColumns are not read correctly from table config (#17152)

* Site: Expand Variant intro blog with Iceberg table-level details (#17705)

* API, Core, Spark: Add Hilbert-curve clustering strategy for `rewrite_data_files` (#16827)

* Core, Spark: Fix stale manifest_length in rewrite_table_path manifest lists (#16910)

* Parquet: Fix misleading AlwaysFalse placeholder exception message (#17816)

* Core: Add dv_count column to PartitionsTable metadata table (#16125)

* ORC: Fix timestamp nano predicate pushdown (#17750)

Co-authored-by: Vova Kolmakov <[email protected]>

* Revert "Core: Add dv_count column to PartitionsTable metadata table" (#17825)

Revert "Core: Add dv_count column to PartitionsTable metadata table (#16125)"

This reverts commit 68a7f2767b8da025a2663e67fc5321febf3c8dd1.

* Core: Reduce visibility on scan planning response builder for specsById and deleteFiles (#17638)

* Core: Add geometry bounds builder (#17509)

* API: Add a builder usage example to PartitionSpec Javadoc (#17747)

* Build: Clean up shaded-jar LICENSE/NOTICE and add missing third-party notices (#16543)

* Spark: Make the view stored-schema cast configurable (#17499)

* Core, Data, Spark, Flink: Remove of position delete files with row data (#17706)

* Spec: Clarify content file uniqueness within a snapshot (#17198)

* Core: Preserve trailing slash on table location in V4 manifest reader (#17807)

The V4 manifest reader stripped a trailing slash from the table location
before resolving relative file locations against it. Remove the strip
as it should be done by the catalog during table creation. It is not
the reader's responsibility

* Spark: Backport view schema binding mode to Spark 3.5 and 4.0 (#17838)

* API, Core, Parquet: Carry avg value sizes for v4 content stats (#17451)

* API, AWS, Azure, GCP: Track read metrics for positioned, vectored, and accelerated reads (#17236)

* Docs: Flink DDL documentation correction (#17854)

Flink DDL documentation correction: Expand `ALTER TABLE` section to include support for adding, dropping, renaming, and modifying columns, along with clarifications on partition changes. Update Flink overview table to reflect these capabilities.

* Flink: Copy Flink v2.1 to v2.3 directory

* Flink: Add v2.2 directory

* Flink: Adjust build scripts for Flink 2.2 and 2.3

* Flink: Code changes for Flink 2.2 and 2.3

* Flink: Remove support for Flink 2.0

* Flink: Catalog type refactor in Test and add support for REST catalog in CatalogTestBase (#17861)

* Build: Add descriptions to OpenAPI spec validation tasks (#17799)

* Core: Read delete manifests correctly during snapshot expiration (#17763)

* Spark: Fix map value decoding in test helpers (#17721)

Generated-by: Codex

* Docs: Update documentation Flink versions and Flink lifecycle maintenance. (#17869)

* Flink: Backport CatalogType test refactor to 1.20

* Flink: Backport REST catalog support in CatalogTestBase to 1.20

* Flink: Forward-port CatalogType test refactor to 2.3

* Flink: Forward-port REST catalog support in CatalogTestBase to 2.3

* Flink: Forward-port CatalogType test refactor to 2.2

* Flink: Forward-port REST catalog support in CatalogTestBase to 2.2

* Flink: Fix deleted rows reappearing after a failed eq-delete conversion cycle (#17630)

* Build: Bump Avro Version to Avro 1.12.2 (#17188)

* Build: Bump Avro Version to Avro 1.12.2

This is a smoke test PR against the staging RC1 artifacts

Change-Id: I1954fdf77da9cb6b48b8f6eae9ac8536d852366f

* Remove Apache staging repository from repositories


Removed Apache staging repository from build.gradle as there's a full release now (same artifact tested against before)

* Docs: Fix Nessie Flink Python example (#17091)

* Flink: Backport eq-delete conversion replan reindex fix to 1.20 and 2.2 (#17630)

* Flink: Forward-port eq-delete conversion replan reindex fix to 2.3 (#17630)

* Build: Bump software.amazon.awssdk:bom from 2.53.1 to 2.54.2 (#17887)

Bumps software.amazon.awssdk:bom from 2.53.1 to 2.54.2.

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.54.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump docker/setup-buildx-action from 4.2.0 to 4.3.0 (#17886)

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/bb05f3f5519dd87d3ba754cc423b652a5edd6d2c...37fe631027851001ddb9b187196cc803df7f5f0e)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump com.diffplug.spotless:spotless-plugin-gradle from 8.9.0 to 8.10.0 (#17883)

Build: Bump com.diffplug.spotless:spotless-plugin-gradle

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 8.9.0 to 8.10.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/8.9.0...gradle/8.10.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-version: 8.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump the codeql-action group with 3 updates (#17885)

Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28)

Updates `github/codeql-action/analyze` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28)

Updates `github/codeql-action/upload-sarif` from 4.37.7 to 4.37.8
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd...db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump datamodel-code-generator from 0.73.0 to 0.74.0 (#17880)

Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.73.0 to 0.74.0.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/koxudaxi/datamodel-code-generator/compare/0.73.0...0.74.0)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.74.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump jackson-bom from 2.22.1 to 2.22.2 (#17881)

Bumps `jackson-bom` from 2.22.1 to 2.22.2.

Updates `com.fasterxml.jackson:jackson-bom` from 2.22.1 to 2.22.2
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.22.1...jackson-bom-2.22.2)

Updates `com.fasterxml.jackson.core:jackson-core` from 2.22.1 to 2.22.2
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.22.1...jackson-core-2.22.2)

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.22.1 to 2.22.2
- [Commits](https://github.com/FasterXML/jackson-databind/compare/jackson-databind-2.22.1...jackson-databind-2.22.2)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-version: 2.22.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-version: 2.22.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-version: 2.22.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* API, Core: Fix typos in test comments (#17889)

Fix a duplicated "the", "overriden" -> "overridden", and "doesnt" -> "doesn't" in
test comments. Comment-only changes, no behavior change.

* Docs, Core, AWS, BigQuery, Flink: Fix miscellaneous typos in comments and docs (#17898)

* Docs: Run `generateRuntimeDeps` on all modules (#17323)

Updated comments for clarity on Gradle commands.

* Docs: Fix grammatical typo in Spark module description (#17897)

'submodules for each spark versions' -> 'submodules for each Spark version'
(number agreement + capitalization, consistent with Flink/Hive naming nearby)

* Core: Fix geo bounds in v4 legacy stat maps (#17493)

* Spark 4.1: Mark overrides of deprecated Spark API as deprecated (#16028)

* Core: Remove ThreadPools.WORKER_THREAD_POOL_SIZE_PROP update warning log message (#17812)

* Core: Remove ThreadPools.WORKER_THREAD_POOL_SIZE_PROP and correct manifest spec fallback removal version

Resolves the two remaining deprecation markers in iceberg-core that
promised action "in 1.12.0" but were missed by the removal PRs.

Remove ThreadPools.WORKER_THREAD_POOL_SIZE_PROP. The field was
deprecated in #5659 in favor of SystemConfigs.WORKER_THREAD_POOL_SIZE
and retargeted from 2.0.0 to 1.12.0 by #14392. It had no callers
anywhere in the repository outside its own declaration and no
references in the docs, and it was the only survivor of #14392's
13-file batch after #17700 removed the rest. The corresponding
java.field.removed break is recorded in .palantir/revapi.yml under the
1.11.0 baseline.

Correct the ManifestReader warning for the partition-spec-from-file-
metadata fallback to say 2.0.0 rather than 1.12.0. The fallback cannot
be honored in 1.12.0 because its only production caller is
BaseSnapshot:276, which passes a null spec map while serving
Snapshot.addedDeleteFiles(FileIO) and removedDeleteFiles(FileIO).
Those accessors are themselves already marked "@deprecated will be
removed in 2.0.0; use SnapshotChanges#builderFor(Table) instead", and
because they receive only a FileIO they structurally cannot supply a
spec map. The fallback must therefore outlive 1.12.0, and 2.0.0 aligns
its removal with that of its last caller.

* reword revapi change

* Dell: Preserve known ECS input file lengths (#17870)

* Dell: Preserve known ECS input file lengths

Carry known lengths into ECS input files so scan planning avoids redundant object metadata requests.

Generated-by: Codex

* Dell: Verify known lengths avoid metadata requests

Use a mock ECS client and assert that reading a supplied file length performs no client interaction.

Generated-by: Codex

* Core: Add Eager fetch to parquet read path (#17284)

* Spark 4.1: Add rewrite option to enable executor cache for delete files (#17868)

* Spark 4.0: Add rewrite option to enable executor cache for delete files (#17907)

* Spark 3.5: Add rewrite option to enable executor cache for delete files (#17909)

* Core: Clean up TestTrackingBuilder (#17145)

* Core, API, Parquet: Collapse redundant nested if statements (#17905)

* Docs: Add max-file-group-input-files to rewrite options tables in spark-procedures.md (#17707)

* Docs: Bump site Flink version to 2.3 (#17936)

* Docs: Fix wrong config keys in Flink maintenance docs (#17935)

* Core, Open-API, Spark, Flink: Use String.replace for literal replacements (#17484)

* API: Add Javadoc for Transforms.fromString (#17693)

* Spec: Add finer grained read restrictions as part of loadTable (#13879)

Add an optional read-restrictions field to LoadTableResult so a catalog
can return the result of evaluating fine grained access policies for the
calling user. The restrictions are enforced by the client, which
requires a trust relationship between the engine and the catalog; how
that trust is established is out of scope for this change.

ReadRestrictions carries two optional fields:

- required-column-projections: a list of Action objects, each naming a
  column by field-id along with the transformation to apply. Action uses
  a discriminator on the action property, with mask-alphanum,
  mask-to-fixed-value, replace-with-null, show-first-4, show-last-4,
  truncate-to-year, truncate-to-month, sha-256-global and
  sha-256-query-local defined. Each action produces a value of the same
  type as the input column.

- required-row-filter: an Expression evaluated against original,
  untransformed column values. Projections are applied to the rows that
  survive the filter.

Enforcement is fail-closed. A reader that supports read restrictions
must fail any read it cannot satisfy in full, including unrecognized
action or expression types and actions that cannot be loaded, parsed, or
evaluated, and must not silently return raw, partial, or empty results.
The restrictions apply to every read performed with a given response,
including subsequent planTableScan and fetchScanTasks calls, and may
differ between requests or between authentication scopes. A missing or
empty ReadRestrictions object imposes no restrictions.

Approved on the dev list with 8 binding +1 votes and no -1 votes:
https://lists.apache.org/thread/0zloqhp8wkgyn04yg69j71cwcg5n7g74

* Build: Bump mkdocs-material from 9.7.5 to 9.7.7 in /site (#17942)

Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.7.5 to 9.7.7.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.7.5...9.7.7)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-version: 9.7.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* API: Fix grammatical typos in UpdatePartitionSpec Javadoc (#17941)

Correct "the a" / "the an" to "a" / "an" in the @throws documentation of addField and removeField.

* Core, Hive, Spark: Auto close JsonGenerator using try-with-resources (#17931)

* Core, Hive, Spark: Close JsonGenerator instead of only flushing it

Ten sites created a JsonGenerator, called flush(), and left it unclosed.
flush() pushes buffered content to the target and flushes the target itself,
so the output was correct, but only close() returns the generator's char
buffers to the thread's BufferRecycler (_releaseBuffers) and returns the
recycler to the pool (IOContext.close). Without it, every serialization
allocates a fresh char[4000] concat buffer instead of reusing one.

Each generator now joins its enclosing try-with-resources so it closes
before its target. The explicit flush() remains only where a value is read
off the target inside the try: JsonUtil.generate and
TableMetadataParser.toJson read StringWriter.toString(), and
HMSTablePropertyHelper.hashOf reads HashWriter.getHash(). The last is
ordering-sensitive, since AUTO_CLOSE_TARGET makes closing the generator
close the HashWriter, and a closed HashWriter rejects getHash().

A JMH benchmark over TableMetadataParser measured a fixed 8,016 B/op
allocation reduction independent of document size, which is one char[4000]
plus its object header. For a ~1 KB document that is 10,616 -> 2,600 B/op
and 0.860 -> 0.730 us/op; for ~41 KB it is 49,680 -> 41,664 B/op.

On a failure mid-serialization, close() now auto-completes open contexts
(AUTO_CLOSE_JSON_CONTENT) and flushes partial content, where the flush()
was previously skipped. The resulting metadata file is orphaned either way
because the commit fails.

* Restore explicit generator.flush() calls

Review feedback: relying on close() to flush is correct but implicit, and it
contradicts JsonUtil.generate, which was cited as the pattern this change
follows and which does call flush().

Restoring the calls keeps this change to a single concern: adding the
generator to the enclosing try-with-resources so it is closed. The
buffer-recycling win comes entirely from close() releasing the char buffer
to the BufferRecycler, not from dropping the flush, so nothing measured is
lost. The flush is now redundant with close() at these sites, which costs
one extra flush() on the underlying stream per write.

* Core, OpenAPI: Preserve avg value sizes in REST JSON (#17855)

* Core, Flink, Spark, Build: Replace Guava Queues with plain JDK and bump guava from 33.6.0-jre to 33.7.1-jre  (#17888)

* Replace Guava Queues with plain JDK

* Build: Bump guava from 33.6.0-jre to 33.7.1-jre

Bumps `guava` from 33.6.0-jre to 33.7.1-jre.

Updates `com.google.guava:guava` from 33.6.0-jre to 33.7.1-jre
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

Updates `com.google.guava:guava-testlib` from 33.6.0-jre to 33.7.1-jre
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-version: 33.7.1-jre
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.guava:guava-testlib
  dependency-version: 33.7.1-jre
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Core: Fix commit validation when a data file has multiple DVs across snapshots (#17764)

* API, Core: Expose co-located deletion vector through DataFile (#17928)

V4 co-locates a data file's deletion vector on the data entry.
Add DataFile.deletionVector() returning the DV as a DeleteFile.

Related discussion thread:
https://github.com/apache/iceberg/pull/17541/changes#r3787760198

* API: Add contextual load apis (#15895)

* API: Adds contextual load APIs and LoadContext

Co-authored-by: Prashant Singh <[email protected]>

* Spark: Add support for 4.2.0 (#14984)

* Spark 4.2: Fix build failures from missed cleanups (#17952)

* Docs: Note that REST catalog credentials should be redacted by engines (#17920)

* Core: Avoid per-row path rehashing in toPositionIndexes (#17864)

* Core: Avoid per-row path rehashing in toPositionIndexes

Signed-off-by: Sergei Nikolaev <[email protected]>

* Core: Compare paths by content when building pos delete indexes + tests

Signed-off-by: Sergei Nikolaev <[email protected]>
Co-authored-by: Anurag Mantripragada <[email protected]>

* Core: Fix Deletes.toPositionIndexes with interleaved paths test

Signed-off-by: Sergei Nikolaev <[email protected]>

* Core: Fix test names, improve assertion in TestDeletes

Signed-off-by: Sergei Nikolaev <[email protected]>

---------

Signed-off-by: Sergei Nikolaev <[email protected]>
Co-authored-by: Anurag Mantripragada <[email protected]>

* API, Core: Add ManifestFile adapter for v4 tracked files (#17932)

Reintroduces the ManifestFile adapter closed in #16867, which stalled because ManifestFile had no way to represent a manifest deletion vector. The V4 scan task planner (#17541) plans over manifests through the ManifestFile API, so this adds ManifestFile.manifestDeletionVector() and has the adapter expose the tracked file's manifest DV.

* Build: Bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 (#17976)

Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/3dc1ecc9bcb9e94e9b2c709687979e1298497054...70fb788f84895a7701f5643d103d587e460b5c99)

---
updated-dependencies:
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump actions/setup-java from 5.7.0 to 6.0.0 (#17975)

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 5.7.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/b6effb05e454b25005698d916606bdc6ffcbf961...dd06d9cba3e5552c54d9f8ea23572deb30010f7c)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump the codeql-action group with 3 updates (#17974)

Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28...cdf488f595d80d6e07e03d4674febd5ab45fa938)

Updates `github/codeql-action/analyze` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28...cdf488f595d80d6e07e03d4674febd5ab45fa938)

Updates `github/codeql-action/upload-sarif` from 4.37.8 to 4.37.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28...cdf488f595d80d6e07e03d4674febd5ab45fa938)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.37.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump org.openapitools:openapi-generator-gradle-plugin from 7.24.0 to 7.25.0 (#17973)

Build: Bump org.openapitools:openapi-generator-gradle-plugin

Bumps [org.openapitools:openapi-generator-gradle-plugin](https://github.com/OpenAPITools/openapi-generator) from 7.24.0 to 7.25.0.
- [Release notes](https://github.com/OpenAPITools/openapi-generator/releases)
- [Changelog](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/release-summary.md)
- [Commits](https://github.com/OpenAPITools/openapi-generator/compare/v7.24.0...v7.25.0)

---
updated-dependencies:
- dependency-name: org.openapitools:openapi-generator-gradle-plugin
  dependency-version: 7.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump org.xerial:sqlite-jdbc from 3.53.2.1 to 3.53.4.0 (#17972)

Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.53.2.1 to 3.53.4.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.53.2.1...3.53.4.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-version: 3.53.4.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump com.diffplug.spotless:spotless-plugin-gradle from 8.10.0 to 8.10.1 (#17970)

Build: Bump com.diffplug.spotless:spotless-plugin-gradle

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 8.10.0 to 8.10.1.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/8.10.0...gradle/8.10.1)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-version: 8.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump software.amazon.awssdk:bom from 2.54.2 to 2.54.7 (#17969)

Bumps software.amazon.awssdk:bom from 2.54.2 to 2.54.7.

---
updated-dependencies:
- dependency-name: software.amazon.awssdk:bom
  dependency-version: 2.54.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build: Bump datamodel-code-generator from 0.74.0 to 0.76.0 (#17968)

Bumps [datamodel-code-generator](https://github.com/koxudaxi/datamodel-code-generator) from 0.74.0 to 0.76.0.
- [Release notes](https://github.com/koxudaxi/datamodel-code-generator/releases)
- [Changelog](https://github.com/koxudaxi/datamodel-code-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/koxudaxi/datamodel-code-generator/compare/0.74.0...0.76.0)

---
updated-dependencies:
- dependency-name: datamodel-code-generator
  dependency-version: 0.76.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] …
zeroshade pushed a commit to apache/iceberg-go that referenced this pull request Nov 12, 2026
…writes (#2517)

Adds `WithCompactionGeometryHilbertOrder`, which orders each partition of a compaction group along a Hilbert curve over the centre of a top-level geometry or geography column's XY bounding box, so rows close in space share files and row groups and spatial filters prune more files. Refs #2043.

- `WithHilbertBits` sets grid resolution (default 16 bits per axis, max 32); `WithHilbertBounds` fixes the extent instead of deriving it from the data.
- Cannot be combined with `WithCompactionSortOrder`; rejects non-geo columns, out-of-range bits and bad bounds.
- Output files record no `sort_order_id`, since a Hilbert order is not an Iceberg sort order.
- Rows with a null or empty geometry go last; geography is ordered on planar x/y with no antimeridian wrapping; the whole group is held in memory.
- Gather and batching code is shared with the sort strategy with no change to the sort algorithm.

This is not Java's multi-column `hilbert(c1, c2)` sort order (apache/iceberg#16827), which encodes primitive columns and does not accept geometry; the plain `WithCompactionHilbertOrder` name is left free for a Java-compatible option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants