Repository navigation
[C++][Python] Remove deprecated functions in 20.0 #45680
Copy link
Copy link
Closed
6 / 66 of 6 issues completedDescription
Activity
cc @AlenkaF
I have checked the C++ and Python parts of the codebase an found these deprecated APIs. I will start with the Python part. Would be great, in the meantime, to get some feedback on the C++ and Flight part in case I am off somewhere or I should split the work in multiple PRs for easier review.
C++
GetNextSegmentand related in grouper.cc from GH-44052 (Deprecated in 18.0.0)GetCapacityin Gandiva cache.cc from GH-41329(Deprecated in 17.0.0)BufferReaderconstructors in io/memory.h from GH-37212 (Deprecated in 14.0.0)ObjectType,FileStatisticsin io/hdfs.h from ARROW-8224 (Deprecated in 0.17.0)OpenAppendStreamin filesystem/gcsfs.h from ARROW-14222 (Deprecated in 6.0.0)- Leftover from ARROW-15732 (Deprecated in 11.0.0)
C++ Deprecated in 19.0.0, need to wait
GetRecordBatchReaderin reader.h from GH-44808NewRowGroupwithchunk_sizeparquet/arrow/writer.h from GH-45048
Python C++
PARQUET_2_0see [Python][C++] Fix deprecations when building pyarrow #45129 (comment)- serialize/deserialize [Python] Remove no longer used serialize/deserialize PyArrow C++ code #43587
Python
- Python
use_legacy_formatin ipc writerLines 62 to 64 in c124bb5
use_legacy_format : bool, default None Deprecated in favor of setting options. Cannot be provided with options. - Python
use_legacy_datasetinParquetDataset- Opened issue: [Python] Remove
use_legacy_datasetfrom code base #44790 - test
- Opened issue: [Python] Remove
PyExtensionTypefrom [Python] Disable PyExtensionType autoload #38607
Flight connected
- Authenticate (Deprecated in 13.0.0)
- Flight UCX (Deprecated in 19.0.0)
- StartCall (Deprecated in 13.0.0)
cc @zanmato1984 for
GetNextSegment. Other C++ removals look fine to me.Reacted by Alenka Frimcc @lidavidm @zeroshade for Flight deprecations.
The removal of
GetNextSegmentlooks good to me. Thank you @AlenkaF for bringing this up!Reacted by Alenka FrimThose removals look good to me, thanks.
Reacted by Alenka Frim- added sub-issues
on Mar 25, 2025 I will be moving some of the deprecations still left to a new issue: #45968 so we can close this one for the 20.0.0 release.
Describe the enhancement requested
We should review deprecated APIs and remove them if their deadline has been reached.
Component(s)
C++, Python