apache/iceberg

Docs: Clarify Spark branch write precedence over WAP branch

Open

#15.916 aberto em 9 de abr. de 2026

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Java (1.915 forks)batch import
docsgood first issueimprovement

Métricas do repositório

Stars
 (5.146 stars)
Métricas de merge de PR
 (Mesclagem média 10d 22h) (164 fundiu PRs em 30d)

Description

Feature Request / Improvement

After https://github.com/apache/iceberg/pull/15288, Spark Writing to Branches doc (docs/docs/spark-writes.md) no longer matches that in codes.

   * <p>The target branch can be specified via table identifier, write option, or in SQL:
   *
   * <ul>
   *   <li>The identifier and option branches can't conflict. If both are set, they must match.
   *   <li>Identifier and option branches take priority over the session WAP branch.
   *   <li>If neither the option nor the identifier branch is set and WAP is enabled for this table,
   *       use the WAP branch from the session SQL config.
   * </ul>
   *
   * <p>Note: WAP ID and WAP branch cannot be set at the same time.
   *
   * <p>Note: The target branch may be created during the write operation if it does not exist.

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

Guia do colaborador