Skip to content

[Data] Move read_zarr guide back into the docstring - #64409

Merged
ArturNiederfahrenhorst merged 2 commits into
ray-project:masterfrom
ArturNiederfahrenhorst:zarr-docstring-moveback
Jun 30, 2026
Merged

ArturNiederfahrenhorst merged 2 commits into
ray-project:masterfrom
ArturNiederfahrenhorst:zarr-docstring-moveback

Conversation

@ArturNiederfahrenhorst

Copy link
Copy Markdown
Contributor

This reverses the doc relocation from #63003: the output schemas, metadata discovery, chunk re-tiling, aligned/sliding-window reads, custom codecs, and .zattrs notes now live in the read_zarr API docstring (rendered on its autodoc page). The dedicated guide and its user-guide.rst toctree entry are removed, along with the three :ref:working_with_zarr links, so the docs build has no dangling cross-references.

Per review feedback after ray-project#63003 merged, fold the "Working with Zarr"
narrative back into the read_zarr docstring and drop the standalone
top-level user-guide page, which doesn't belong at that tier.

This reverses the doc relocation from ray-project#63003: the output schemas, metadata
discovery, chunk re-tiling, aligned/sliding-window reads, custom codecs, and
.zattrs notes now live in the read_zarr API docstring (rendered on its
autodoc page). The dedicated guide and its user-guide.rst toctree entry are
removed, along with the three :ref:`working_with_zarr` links, so the docs
build has no dangling cross-references.

The loading-data.rst Zarr tab is unchanged (it points at read_zarr, not the
deleted guide).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
@ArturNiederfahrenhorst
ArturNiederfahrenhorst requested a review from a team as a code owner June 29, 2026 09:32

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request consolidates the Zarr documentation by deleting the standalone Zarr user guide and moving its detailed contents directly into the docstring of the read_zarr function in python/ray/data/read_api.py. This includes detailed sections on output schemas, array selection, chunk size control, row-aligned arrays, custom codecs, and array attributes, as well as adding a new doctest example. There are no review comments, so I have no feedback to provide.

Trim the long-form column descriptions, restore the **Output schemas.**
run-in header so the first section matches the others, and rewrap the
wide-form alignment requirement (dropping the redundant, unticked
align_axis_0=True restatement that also overran the line width).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
@ray-gardener ray-gardener Bot added docs An issue or change related to documentation data Ray Data-related issues labels Jun 29, 2026
@richardliaw richardliaw added the go add ONLY when ready to merge, run all tests label Jun 29, 2026
@ArturNiederfahrenhorst
ArturNiederfahrenhorst merged commit 8a05322 into ray-project:master Jun 30, 2026
6 checks passed
400Ping pushed a commit to 400Ping/ray that referenced this pull request Aug 18, 2026
This reverses the doc relocation from ray-project#63003: the output schemas,
metadata discovery, chunk re-tiling, aligned/sliding-window reads,
custom codecs, and .zattrs notes now live in the read_zarr API docstring
(rendered on its autodoc page). The dedicated guide and its
user-guide.rst toctree entry are removed, along with the three
:ref:`working_with_zarr` links, so the docs build has no dangling
cross-references.

---------

Signed-off-by: Artur Niederfahrenhorst <[email protected]>
Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: 400Ping <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Ray Data-related issues docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants