-1 from my side to enable v3 as default in java for the current state. I think java implementation still has gaps like multi arg transform is still not implemented (https://github.com/apache/iceberg/pull/12897) whereas spec <https://iceberg.apache.org/spec/#version-3> mentions it.
Another suggestion is to note that we have the essential components for encryption support. However, adding encryption-key rotation would further improve security, especially if v3 becomes the default and adoption of its encryption features increases. So, we can also probably wait for this <https://github.com/apache/iceberg/issues/18240> to be merged. - Ajantha On Sat, Nov 21, 2026 at 9:16 AM Neelesh Salian <[email protected]> wrote: > Thanks Gang, Amogh and Zheng! > > Gang, thanks for the cpp update. > > Amogh, agreed. I don't think we need to wait for every implementation > either. > > Zheng, both make sense. The status page [2] covers the libraries (Java, > PyIceberg, Rust, Go, C++) but not engines like Spark, Flink or Trino, so > icebergmatrix.org link is the closest thing to an engine matrix today. > For existing tables, upgrading is setting format-version to 3, but we > don't have a doc > that walks through it. But, we can certainly add one so users can use that > as a guide. > > So my high level idea,: > - Java switches the default to v3, same as we did for v2 [1]. > - The other implementations can switch when they're ready. > - I don't know if we should block on Nanosecond timestamps (still behind > in Java and Spark) > but I'd like more feedback on that. I think we can switch to v3 and then > add Nanosecond timestamps > later, but if there are concerns, we can wait for that too. > > The v3 DV reference table is in iceberg-verification now [3], and we'll > continue to cover the rest of the v3 artifacts. > > I also tried switching the Java default locally to see what breaks. Most > failures were tests that assume v2, but I also hit the concurrent replace > bug reported in [4]. There was a fix in progress [5] that went stale. I > think we should fix this before switching, since new tables would hit it > by default. > > Let's keep this discussion open over the next couple of weeks and see > where we land. > > Thanks, > Neelesh > > [1] https://github.com/apache/iceberg/pull/8381 > [2] https://github.com/apache/iceberg/pull/18062 > [3] https://github.com/apache/iceberg-verification/pull/24 > [4] https://github.com/apache/iceberg/pull/15905 > [5] https://github.com/apache/iceberg/pull/15904 > > On Thu, Nov 19, 2026 at 4:14 PM Zheng Hu via dev <[email protected]> > wrote: > >> Hi >> >> Thanks for the discussion. >> >> +1 for switching default to v3. it will good to have some docs like: >> 1. how to migrate the existing tables from v2 to v3 ? >> 2. what's the overall engines support for v3. one matrix indicating the >> support status will be great. >> >> On Thu, Nov 19, 2026 at 12:22 PM Amogh Jahagirdar <[email protected]> >> wrote: >> >>> Thanks for starting this, Neelesh. I'm supportive of the Java reference >>> implementation defaulting to v3. I'll defer to others for the other >>> implementations. >>> >>> I think the bar for changing the default format version is two things. >>> First is table stakes, the implementation changing its default should >>> reliably support reading and writing the core features of that version, >>> which I think the Java implementation sufficiently does. Second, there >>> should be broad ecosystem support. DVs, variant, and row lineage are now >>> supported beyond Spark in OSS engines like Flink, Trino, DuckDB, and Doris, >>> as well as across data and cloud vendors (referencing >>> https://icebergmatrix.org/). >>> >>> That said, of course support isn't universal yet. Just to name some >>> examples, my understanding is that Trino still treats v3 as experimental, >>> PyIceberg and iceberg-rust can read DVs but can't write them or variant >>> yet, and nanosecond timestamps are still behind in a lot of places, Java >>> and Spark included. It doesn't make sense to wait for every implementation, >>> but I do want to make sure we're looking holistically at how the core, most >>> desired v3 features are supported across the ecosystem. >>> >>> A default also gives the community a clear signal of where support >>> efforts are focused. I personally think we're there with v3. >>> >>> Thanks, >>> Amogh >>> >>> On Sun, Nov 15, 2026 at 2:57 PM Neelesh Salian <[email protected]> >>> wrote: >>> >>>> Hi all, >>>> >>>> With v4 underway, I'd like to start a discussion on switching the >>>> default >>>> format version from 2 to 3 at some point in the future. We can follow a >>>> similar >>>> process to the v2 switch [1]. The Java and Go implementations already >>>> support most of v3, with >>>> work still landing, so the open question is whether the other >>>> implementations are ready. >>>> >>>> A few gaps I know of: >>>> - PyIceberg can't write v3 yet [2] >>>> - iceberg-rust is still working through v3 [3] >>>> >>>> The implementation status page is getting updated with a v3 breakdown >>>> [4], and there is active >>>> work in iceberg-verification to add v3 reference tables, so we can >>>> check that >>>> implementations read v3 tables the same way [5]. >>>> >>>> How should we get there? What needs to be done before we switch, and do >>>> we >>>> wait for every implementation or only some? I'm happy to drive this, >>>> and would >>>> welcome anyone who wants to help. >>>> >>>> Thanks, >>>> Neelesh >>>> >>>> [1] https://github.com/apache/iceberg/pull/8381 >>>> [2] https://github.com/apache/iceberg-python/issues/1551 >>>> [3] https://github.com/apache/iceberg-rust/issues/2411 >>>> [4] https://github.com/apache/iceberg/pull/18062 >>>> [5] https://github.com/apache/iceberg-verification/pull/24 >>>> >>>
