You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/10/11 12:56:27 UTC

(datafusion-comet) 01/01: docs: list the S3A settings the Iceberg native-write gate ignores (#6828)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-6828-19b0dd264cd39c2d34a7bffa98694d44f48c8163
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git

commit 9a7b1c1b99ad9a1ddd8657b659723f6fdacf35dd
Author: Andy Grove <ag...@apache.org>
AuthorDate: Sun Oct 11 12:56:06 2026 +0000

    docs: list the S3A settings the Iceberg native-write gate ignores (#6828)
    
    The user guide and the contributor guide both name the Hadoop S3A settings
    that the native Iceberg write gate ignores, and both list only the
    vectored-read and downgrade.syncable.exceptions settings. #6808 adds the
    S3A committer, bulk.delete.page.size and experimental.input.fadvise
    settings to that list.
    
    Name them in both guides, point the S3A row of the eligibility table at
    the list, state when a key belongs on it, and note that the list matches
    the plain key, so a per-bucket spelling still falls back.
---
 docs/source/contributor-guide/iceberg-writes.md | 11 ++++++++---
 docs/source/user-guide/latest/iceberg-writes.md |  9 +++++++--
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/docs/source/contributor-guide/iceberg-writes.md b/docs/source/contributor-guide/iceberg-writes.md
index 1ef7539329..2cdfb9038b 100644
--- a/docs/source/contributor-guide/iceberg-writes.md
+++ b/docs/source/contributor-guide/iceberg-writes.md
@@ -312,9 +312,14 @@ Per-bucket `fs.s3a.bucket.<bucket>.*` keys are split into a complete bucket name
 suffix. `fs.s3a.bucket.target.other.endpoint` belongs to bucket `target.other`, so it does not
 make a write to `target` ineligible.
 The Hadoop check excludes keys whose only source is Hadoop's built-in `core-default.xml`, while
-retaining programmatic, site-XML, and custom `*-default.xml` settings. It also ignores Spark's
-session-wide S3A vectored-read and `downgrade.syncable.exceptions` settings, which cannot affect a
-data-file write request. Keep those allowlists aligned when adding storage support. Reaching
+retaining programmatic, site-XML, and custom `*-default.xml` settings. It also ignores the keys in
+`IgnoredHadoopS3Keys`: Spark's session-wide S3A vectored-read and `downgrade.syncable.exceptions`
+settings, plus the committer, `bulk.delete.page.size` and `experimental.input.fadvise` settings that
+deployments set cluster-wide (Spark 4.1 sets two of the committer keys itself). A key belongs on
+that list only if S3A would not apply it to a data-file write request. Settings that S3A does apply,
+such as encryption, ACLs, storage class, signing and the credentials provider, must keep falling
+back. The list matches the exact key, so a per-bucket spelling is not ignored. Keep those
+allowlists aligned when adding storage support. Reaching
 `FileIOBuilder.with_prop` is not proof of support: the builder accepts unknown properties and the
 backend ignores them. A fallback reason must contain property names only, never values.
 
diff --git a/docs/source/user-guide/latest/iceberg-writes.md b/docs/source/user-guide/latest/iceberg-writes.md
index a04f6be61c..2d84caeaca 100644
--- a/docs/source/user-guide/latest/iceberg-writes.md
+++ b/docs/source/user-guide/latest/iceberg-writes.md
@@ -201,7 +201,7 @@ A write is eligible only when ALL of the following hold:
 | `write.target-file-size-bytes`                                                                                                              | any value (the two writers can choose different roll points; see accepted divergences)                                                                                                                                                                                                                                                                       [...]
 | data location URI scheme                                                                                                                    | `file`, `memory`, `s3`, `s3a`, `gs`, matched case-sensitively (`S3://` falls back). `s3`, `s3a` and `gs` need a bucket in the authority (`s3://bucket/...`), so a hostless form such as `s3:/bucket/key` falls back. `gs` only when the `FileIO` opening the data location is a `GCSFileIO`; see below                                                       [...]
 | resolved `table.locationProvider()`                                                                                                         | Iceberg's built-in `DefaultLocationProvider`                                                                                                                                                                                                                                                                                                                 [...]
-| Hadoop S3A settings for an `s3` / `s3a` data location                                                                                       | only `fs.s3a.access.key`, `secret.key`, `session.token`, `endpoint`, `endpoint.region`, and `path.style.access`, including their `fs.s3a.bucket.<data-bucket>.*` forms; any other effective `fs.s3a.*` setting falls back                                                                                                                                    [...]
+| Hadoop S3A settings for an `s3` / `s3a` data location                                                                                       | only `fs.s3a.access.key`, `secret.key`, `session.token`, `endpoint`, `endpoint.region`, and `path.style.access`, including their `fs.s3a.bucket.<data-bucket>.*` forms; any other effective `fs.s3a.*` setting falls back, apart from the ignored settings listed below                                                                                      [...]
 | Iceberg `FileIO` S3 settings for an `s3` / `s3a` data location                                                                              | the S3 endpoint, region, static/session credentials, path-style, SSE (`none`, `s3`, `kms`, or `custom`; not `dsse-kms`), assume-role, anonymous/config-chain settings parsed by the pinned iceberg-rust version, plus Comet's credential-provider class and built-in web-identity properties. When a custom provider is configured, its vendor-owned `s3.*`  [...]
 | partition spec                                                                                                                              | any, except an identity partition on a `float` or `double` column, or a `void` field whose source column was dropped beside a live field (see below)                                                                                                                                                                                                         [...]
 | column types                                                                                                                                | any except `uuid` (Spark plans it as a string; no Arrow cast reaches `fixed(16)`) and the v3 types `variant`, `unknown`, `timestamp_ns`, `geometry` and `geography`                                                                                                                                                                                          [...]
@@ -242,7 +242,12 @@ properties; session and catalog Hadoop options are neither checked nor forwarded
 `core-default.xml` values are not treated as explicit settings, but
 programmatic settings and values from site or custom `*-default.xml` resources are. Spark's
 session-wide S3A vectored-read and `downgrade.syncable.exceptions` compatibility settings are also
-ignored because they cannot alter an Iceberg data-file write request. Unknown explicit
+ignored, as are the S3A committer (`committer.name`, `committer.magic.enabled`,
+`committer.threads`), `bulk.delete.page.size` and `experimental.input.fadvise` settings, because
+none of them can alter an Iceberg data-file write request. Spark 4.1 sets `committer.name` and
+`committer.magic.enabled` itself when `spark-hadoop-cloud` is on the classpath. Ignored settings are
+matched by their plain `fs.s3a.<name>` keys, so a per-bucket `fs.s3a.bucket.<data-bucket>.<name>`
+form still falls back. Unknown explicit
 `fs.s3a.*`, `s3.*`, or `client.*` settings therefore fall back at planning time instead of being
 silently ignored by the native storage backend. The exception is a vendor-owned `s3.*` /
 `client.*` property when


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org