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/05/13 11:24:32 UTC

(datafusion) branch gh-readonly-queue/main/pr-22133-937dfdad748589aa7372848bb2a57ef04109b931 created (now 1f2b020888)

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

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-22133-937dfdad748589aa7372848bb2a57ef04109b931
in repository https://gitbox.apache.org/repos/asf/datafusion.git


      at 1f2b020888 docs: updating arrays_zip output field naming (#22133)

This branch includes the following new commits:

     new 1f2b020888 docs: updating arrays_zip output field naming (#22133)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


(datafusion) 01/01: docs: updating arrays_zip output field naming (#22133)

Posted by gi...@apache.org.
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-22133-937dfdad748589aa7372848bb2a57ef04109b931
in repository https://gitbox.apache.org/repos/asf/datafusion.git

commit 1f2b020888e0f96ac9e9825e4267690a058819b8
Author: Tim Saucer <ti...@gmail.com>
AuthorDate: Wed May 13 07:24:09 2026 -0400

    docs: updating arrays_zip output field naming (#22133)
    
    ## Which issue does this PR close?
    
    No issue opened, but discovered regression in unit tests in
    datafusion-python during upgrading to `main`
    
    ## Rationale for this change
    
    Documentation only to let users know that they will need to update their
    field naming expectations. The change happened in
    https://github.com/apache/datafusion/pull/20886
    
    ## What changes are included in this PR?
    
    Upgrade guide document.
    
    ## Are these changes tested?
    
    N/A
    
    ---------
    
    Co-authored-by: hsiang-c <13...@users.noreply.github.com>
    Co-authored-by: Oleks V <co...@users.noreply.github.com>
---
 docs/source/library-user-guide/upgrading/54.0.0.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/source/library-user-guide/upgrading/54.0.0.md b/docs/source/library-user-guide/upgrading/54.0.0.md
index 7911bbdc50..0ba3e4eb3e 100644
--- a/docs/source/library-user-guide/upgrading/54.0.0.md
+++ b/docs/source/library-user-guide/upgrading/54.0.0.md
@@ -557,6 +557,20 @@ are stored as `Arc<T>` so the map remains cheap to clone.
 - Custom `ParquetFileReaderFactory` implementations or other consumers that
   read `partitioned_file.extensions` and downcast manually.
 
+### `arrays_zip` struct field names changed
+
+The `arrays_zip` (and its alias `list_zip`) scalar function now names its
+output struct fields `"1"`, `"2"`, ..., `"n"` (1-indexed, matching DuckDB and
+Spark) instead of `c0`, `c1`, ..., `c{n-1}`.
+
+**Who is affected:**
+
+- Queries or downstream code that references the output struct fields by name
+  (e.g. `arrays_zip(a, b)[1]['c0']`). Update field accessors to `'1'`, `'2'`,
+  etc. (e.g. `arrays_zip(a, b)[1]['1']`).
+
+See [PR #20886](https://github.com/apache/datafusion/pull/20886) for details.
+
 ### `Box<C>` and `Arc<C>` `TreeNodeContainer` impls now require `C: Default`
 
 The generic `TreeNodeContainer` implementations for `Box<C>` and `Arc<C>` now


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