Repository navigation
update pyarrow linked function name - #66154
Merged
goutamvenkat-anyscale merged 2 commits intoSep 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation in python/ray/data/dataset.py to correct a reference link, changing write_dataset to write_to_dataset for pyarrow compatibility. There are no review comments, so I have no feedback to provide.
Signed-off-by: Mitanshu Sukhwani <[email protected]>
mitanshu7
force-pushed
the
fix/write_parquet_link
branch
from
September 14, 2026 06:15
69aadf8 to
a0bd7a2
Compare
goutamvenkat-anyscale
approved these changes
Sep 17, 2026
goutamvenkat-anyscale
enabled auto-merge (squash)
September 17, 2026 21:21
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
## Description The [write_dataset](https://arrow.apache.org/docs/python/generated/pyarrow.parquet.write_dataset.html) link on Ray Data documentation for [write_parquet](https://docs.ray.io/en/latest/data/api/doc/ray.data.Dataset.write_parquet.html) under the filename_provider argument results in a 404. ## Related issues Fixes ray-project#66025 ## Additional information Could not build the documentation locally as the `make local` command failed owing to less RAM. Signed-off-by: Mitanshu Sukhwani <[email protected]>
dstrodtman
added a commit
that referenced
this pull request
Oct 30, 2026
…ataset.write_dataset (#67600) ## Summary The `filename_provider` entry in the `Dataset.write_parquet` docstring says Ray Data adds `{i}` to the filename for compatibility with pyarrow's `write_to_dataset`, and links `pyarrow.parquet.write_to_dataset`. Ray's write path doesn't call that function. This PR points the sentence and link at `pyarrow.dataset.write_dataset`, the function Ray actually calls. ## Before The docstring named and linked [`pyarrow.parquet.write_to_dataset`](https://arrow.apache.org/docs/python/generated/pyarrow.parquet.write_to_dataset.html). #66154 put that link in place to fix a 404. The link works, and `write_to_dataset` also accepts `basename_template`, but it isn't the API Ray uses. ## After The docstring names and links [`pyarrow.dataset.write_dataset`](https://arrow.apache.org/docs/python/generated/pyarrow.dataset.write_dataset.html). `ParquetDatasink` calls it with the `basename_template` that carries the `{i}` requirement: https://github.com/ray-project/ray/blob/5fe30798cd3/python/ray/data/_internal/datasource/parquet_datasink.py#L395-L399 `_get_basename_template` in the same file builds that template and appends `{i}` when the filename lacks it (lines 336-355). Behavior is unchanged. Only the docstring text changes. ## Subsystems API (docstring only) ## Duplicate check No open PR changes this docstring. I searched open PRs for `write_parquet filename_provider` and `write_to_dataset`. ## Testing - `python ci/ray_ci/doc/check_docstring_only.py --base "$(git merge-base upstream/master HEAD)"`: `docstring-only guard: 1 file(s), docstrings only.` - Pre-commit on the changed file, including ruff, black, pydoclint, the docstyle hook, and the master-link check: passed. - The new target URL returns HTTP 200. AI assistance (Claude Code) was used to prepare this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The write_dataset link on Ray Data documentation for write_parquet under the filename_provider argument results in a 404.
Related issues
Fixes #66025
Additional information
Could not build the documentation locally as the
make localcommand failed owing to less RAM.