This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new da840ed3b Remove some very old deprecated functions (#6774)
da840ed3b is described below
commit da840ed3bf4674bc3cae46aed7a75721f631ad14
Author: Andrew Lamb <[email protected]>
AuthorDate: Fri Nov 22 17:35:44 2024 -0500
Remove some very old deprecated functions (#6774)
* Remove some very old deprecated functions
* fix
---
arrow-array/src/array/struct_array.rs | 6 ------
parquet/src/file/properties.rs | 36 -----------------------------------
2 files changed, 42 deletions(-)
diff --git a/arrow-array/src/array/struct_array.rs
b/arrow-array/src/array/struct_array.rs
index 41eb8235e..692f76e48 100644
--- a/arrow-array/src/array/struct_array.rs
+++ b/arrow-array/src/array/struct_array.rs
@@ -239,12 +239,6 @@ impl StructArray {
&self.fields
}
- /// Returns child array refs of the struct array
- #[deprecated(note = "Use columns().to_vec()")]
- pub fn columns_ref(&self) -> Vec<ArrayRef> {
- self.columns().to_vec()
- }
-
/// Return field names in this struct array
pub fn column_names(&self) -> Vec<&str> {
match self.data_type() {
diff --git a/parquet/src/file/properties.rs b/parquet/src/file/properties.rs
index efcb63258..f4f610ab9 100644
--- a/parquet/src/file/properties.rs
+++ b/parquet/src/file/properties.rs
@@ -185,14 +185,6 @@ impl WriterProperties {
WriterPropertiesBuilder::with_defaults()
}
- /// Returns data page size limit.
- ///
- /// Note: this is a best effort limit based on the write batch size
- #[deprecated(since = "41.0.0", note = "Use data_page_size_limit")]
- pub fn data_pagesize_limit(&self) -> usize {
- self.data_page_size_limit
- }
-
/// Returns data page size limit.
///
/// Note: this is a best effort limit based on the write batch size
@@ -202,14 +194,6 @@ impl WriterProperties {
self.data_page_size_limit
}
- /// Returns dictionary page size limit.
- ///
- /// Note: this is a best effort limit based on the write batch size
- #[deprecated(since = "41.0.0", note = "Use dictionary_page_size_limit")]
- pub fn dictionary_pagesize_limit(&self) -> usize {
- self.dictionary_page_size_limit
- }
-
/// Returns dictionary page size limit.
///
/// Note: this is a best effort limit based on the write batch size
@@ -433,16 +417,6 @@ impl WriterPropertiesBuilder {
self
}
- /// Sets best effort maximum size of a data page in bytes.
- ///
- /// Note: this is a best effort limit based on value of
- /// [`set_write_batch_size`](Self::set_write_batch_size).
- #[deprecated(since = "41.0.0", note = "Use set_data_page_size_limit")]
- pub fn set_data_pagesize_limit(mut self, value: usize) -> Self {
- self.data_page_size_limit = value;
- self
- }
-
/// Sets best effort maximum size of a data page in bytes (defaults to
`1024 * 1024`).
///
/// The parquet writer will attempt to limit the sizes of each
@@ -471,16 +445,6 @@ impl WriterPropertiesBuilder {
self
}
- /// Sets best effort maximum dictionary page size, in bytes.
- ///
- /// Note: this is a best effort limit based on value of
- /// [`set_write_batch_size`](Self::set_write_batch_size).
- #[deprecated(since = "41.0.0", note = "Use
set_dictionary_page_size_limit")]
- pub fn set_dictionary_pagesize_limit(mut self, value: usize) -> Self {
- self.dictionary_page_size_limit = value;
- self
- }
-
/// Sets best effort maximum dictionary page size, in bytes (defaults to
`1024 * 1024`).
///
/// The parquet writer will attempt to limit the size of each