This is an automated email from the ASF dual-hosted git repository.

jayzhan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new ab9fc20454 Minor: deprecate unused index mod (#14534)
ab9fc20454 is described below

commit ab9fc20454f5651ad199a53af9f5583304f60edb
Author: Qi Zhu <[email protected]>
AuthorDate: Fri Feb 7 19:56:41 2025 +0800

    Minor: deprecate unused index mod (#14534)
    
    * Address comments
    
    * Address comments
---
 datafusion/physical-plan/src/sorts/index.rs | 1 +
 datafusion/physical-plan/src/sorts/mod.rs   | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/datafusion/physical-plan/src/sorts/index.rs 
b/datafusion/physical-plan/src/sorts/index.rs
index 3b45c6d387..29441e3f1f 100644
--- a/datafusion/physical-plan/src/sorts/index.rs
+++ b/datafusion/physical-plan/src/sorts/index.rs
@@ -50,6 +50,7 @@
 ///   RecordBatches
 /// ```
 #[derive(Debug, Clone)]
+#[deprecated(since = "46.0.0", note = "unused and will be removed in the 
future")]
 pub struct RowIndex {
     /// The index of the stream (uniquely identifies the stream)
     pub stream_idx: usize,
diff --git a/datafusion/physical-plan/src/sorts/mod.rs 
b/datafusion/physical-plan/src/sorts/mod.rs
index ab5df37ed3..c7ffae4061 100644
--- a/datafusion/physical-plan/src/sorts/mod.rs
+++ b/datafusion/physical-plan/src/sorts/mod.rs
@@ -19,12 +19,9 @@
 
 mod builder;
 mod cursor;
-mod index;
 mod merge;
 pub mod partial_sort;
 pub mod sort;
 pub mod sort_preserving_merge;
 mod stream;
 pub mod streaming_merge;
-
-pub use index::RowIndex;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to