diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 181f5466aa5b..b559b4bbc96a 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -116,9 +116,8 @@ experimental = ["variant_experimental"] # Enable async APIs async = ["futures", "tokio"] # Enable object_store integration -# Deprecated: implement `AsyncFileReader` directly instead, see the example on -# the `AsyncFileReader` trait documentation and `parquet/examples/object_store.rs`. # This feature will be removed in a future release. +# See https://github.com/apache/arrow-rs/issues/10308 object_store = ["dep:object_store", "async"] # Group Zstd dependencies zstd = ["dep:zstd"] diff --git a/parquet/examples/object_store.rs b/parquet/examples/object_store.rs index 47c1532733dd..fa52931518e6 100644 --- a/parquet/examples/object_store.rs +++ b/parquet/examples/object_store.rs @@ -32,8 +32,7 @@ use std::ops::Range; use std::sync::Arc; /// This example demonstrates reading and writing Parquet files on object -/// storage via the [`object_store`] crate, without the deprecated -/// `ParquetObjectReader` and `ParquetObjectWriter` types. +/// storage via the [`object_store`] crate. /// /// # Example Overview /// diff --git a/parquet/src/arrow/async_reader/store.rs b/parquet/src/arrow/async_reader/store.rs index 525b39a6ce23..fe9cb65bfe8f 100644 --- a/parquet/src/arrow/async_reader/store.rs +++ b/parquet/src/arrow/async_reader/store.rs @@ -53,7 +53,7 @@ use tokio::runtime::Handle; /// ``` #[deprecated( since = "59.2.0", - note = "Implement `AsyncFileReader` directly instead; see the example on the `AsyncFileReader` trait documentation and `parquet/examples/object_store.rs`. Use `SpawnedReader` to perform I/O on a dedicated runtime." + note = "Implement `AsyncFileReader` directly instead; see the example on the `AsyncFileReader` trait documentation and `parquet/examples/object_store.rs`. Use `SpawnedReader` to perform I/O on a dedicated runtime. See https://github.com/apache/arrow-rs/issues/10308" )] #[derive(Clone, Debug)] pub struct ParquetObjectReader { @@ -140,7 +140,7 @@ impl ParquetObjectReader { /// [here]: https://www.influxdata.com/blog/using-rustlangs-async-tokio-runtime-for-cpu-bound-tasks/ #[deprecated( since = "59.2.0", - note = "Wrap the reader in a `SpawnedReader` instead, e.g. `SpawnedReader::new(reader, handle)`" + note = "Wrap the reader in a `SpawnedReader` instead, e.g. `SpawnedReader::new(reader, handle)`. See https://github.com/apache/arrow-rs/issues/10308" )] pub fn with_runtime(self, handle: Handle) -> Self { Self { diff --git a/parquet/src/arrow/async_writer/store.rs b/parquet/src/arrow/async_writer/store.rs index fcc6c4b31b07..ad674268a36d 100644 --- a/parquet/src/arrow/async_writer/store.rs +++ b/parquet/src/arrow/async_writer/store.rs @@ -77,7 +77,7 @@ use tokio::io::AsyncWriteExt; /// [`AsyncArrowWriter`]: crate::arrow::async_writer::AsyncArrowWriter #[deprecated( since = "59.2.0", - note = "Pass an `object_store::buffered::BufWriter` to `AsyncArrowWriter` directly instead; see `parquet/examples/object_store.rs`" + note = "Pass an `object_store::buffered::BufWriter` to `AsyncArrowWriter` directly instead; see https://github.com/apache/arrow-rs/issues/10308 and `parquet/examples/object_store.rs`." )] #[derive(Debug)] pub struct ParquetObjectWriter {