Apache DataFusion SQL Query Engine
Minor: deprecate unused index mod (#14534)
Qi Zhuab9fc20454f5
diff --git a/datafusion/physical-plan/src/sorts/index.rs b/datafusion/physical-plan/src/sorts/index.rsindex 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.rsindex 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;