This is an automated email from the ASF dual-hosted git repository.
AlenkaF pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new cd304b22da MINOR: [Python][Docs] Remove reference to removed
pyarrow.HdfsFile (#50397)
cd304b22da is described below
commit cd304b22da0ca1dc92edf86e6476d733f5ea5b05
Author: Ritika shrestha <[email protected]>
AuthorDate: Fri Sep 11 05:18:21 2026 -0500
MINOR: [Python][Docs] Remove reference to removed pyarrow.HdfsFile (#50397)
### Rationale for this change
The Python memory/IO docs list `pyarrow.HdfsFile` as a `NativeFile`
subclass, but that class no longer exists (legacy HDFS was deprecated in 2.0
and later removed). The `:class:` reference has no target, and HDFS access now
uses `pyarrow.fs.HadoopFileSystem`, which returns regular `NativeFile` objects.
It's the only unresolved pyarrow cross-reference on the page.
### What changes are included in this PR?
Removes the stale `pyarrow.HdfsFile` bullet in
docs/source/python/memory.rst. One line, docs only.
### Are these changes tested?
Confirmed `pyarrow.HdfsFile` isn't in pyarrow, the ref appears only once,
and all remaining `:class:` refs on the page resolve after removal.
### Are there any user-facing changes?
Documentation only.
Authored-by: Ritika shrestha <[email protected]>
Signed-off-by: AlenkaF <[email protected]>
---
docs/source/python/memory.rst | 1 -
1 file changed, 1 deletion(-)
diff --git a/docs/source/python/memory.rst b/docs/source/python/memory.rst
index 3bb7c57f3a..65706b103c 100644
--- a/docs/source/python/memory.rst
+++ b/docs/source/python/memory.rst
@@ -168,7 +168,6 @@ There are several kinds of :class:`~pyarrow.NativeFile`
options available:
Buffer at the end
* :class:`~pyarrow.FixedSizeBufferWriter`, for writing data into an already
allocated Buffer
-* :class:`~pyarrow.HdfsFile`, for reading and writing data to the Hadoop
Filesystem
* :class:`~pyarrow.PythonFile`, for interfacing with Python file objects in C++
* :class:`~pyarrow.CompressedInputStream` and
:class:`~pyarrow.CompressedOutputStream`, for on-the-fly compression or