Skip to content

Iceberg Spark 4.2 feature tracking #17959

Description

@huan233usc

Feature Request / Improvement

Spark 4.2 adds a number of features and optimizations that may benefit the Iceberg Spark connector. This issue tracks the corresponding Iceberg work. If you are interested in an item, please open a dedicated sub-issue and link it back here.

Also add tests for existing behavior:

Query engine

Spark

Willingness to contribute

  • I can contribute this improvement/feature independently
  • I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • I cannot contribute this improvement/feature at this time

Activity

  1. szehon-ho commented on Sep 4, 2026

    @szehon-ho
    Member

    Thanks @huan233usc for this, yes thought of a lot of DSV2 improvements pending Spark 4.2 directory creation. Everyone can also add more ideas as they come up (like any remaining item for ViewCatalog, etc)!

  2. rahulsmahadev commented on Sep 4, 2026

    @rahulsmahadev
    Contributor

    Yes, looking forward to 4.2 for a while. also need to add "Implement SupportsSchemaEvolution for automatic schema evolution- #17957
    " into this list

  3. hemanthboyina commented on Sep 5, 2026

    @hemanthboyina
    Contributor

    @huan233usc I see DSv2 table pinning and refresh semantics item SPARK-58389, apache/spark#57799, are targeted at Spark 4.3 — the new API isn't in the 4.2.0 artifact, so there's nothing to wire up in spark/v4.2 yet ?

  4. szehon-ho commented on Sep 10, 2026

    @szehon-ho
    Member

    i add @aokolnychyi to also validate the iceberg spark 4.2 behavior for official release

  5. nssalian commented on Sep 10, 2026

    @nssalian
    Collaborator

    CC: @qlong it would be great to track the variant related changes we want from Spark 4.2+ here as well.

  6. nssalian commented on Sep 10, 2026

    @nssalian
    Collaborator

    @huan233usc do you mind adding #16133 to the list? I'll add a fix soon.

  7. huan233usc commented on Sep 17, 2026

    @huan233usc
    ContributorAuthor

    @hemanthboyina You’re right—thanks for catching this. I confirmed that the SPARK-58389 API is only available on master / Spark 4.3 and is not present in the 4.2.0 artifact, so there is nothing to wire up in spark/v4.2. I’ll remove this item from the Spark 4.2 tracker and track it for 4.3 instead.

  8. uros-b commented on Sep 28, 2026

    @uros-b
    Member

    Also add tests for existing behavior:

    • DSv2 cache invalidation and refresh (spark#55416, spark#55536)

    For apache/spark#55536 (SPARK-54022 / SPARK-56617, DSv2 CACHE TABLE read semantics), it is already mirrored in TestCachedTableRefresh from the 4.1 -> 4.2 work. One scenario (a session ALTER TABLE invalidating the cache) was @Disabled pending SPARK-55631, which is fixed in 4.2.0, so #18298 re-enables it (now green under both the SparkCatalog and SparkSessionCatalog configs).

    For apache/spark#55416 (SPARK-54216, cache refresh with immutable Table instances), this PR was closed without merging and its JIRA is still open. The behavior looks already exercised by testCachedTableRefreshReflectsExternalChanges under the caching-catalog config, so I left it out; but I would be happy to add dedicated tests mirroring it if folks think that additional coverage is worth having.

  9. developer-rpai commented on Oct 5, 2026

    @developer-rpai

    I would like to take the DSv2 Transaction API item (SPARK-55855). I opened a dedicated sub-issue to track it: #18384.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementPR that improves existing functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions