Skip to content

Commit 659d5a3

Browse files
authored
Remove elements deprecated since v 38. (#13245)
* Remove deprecated transform functions They were deprecated since 38.0.0, which was released 6 months ago. * Remove deprecated and unused FileSinkExec type It was deprecated since 38.0.0, which was released 6 months ago.
1 parent 49b9351 commit 659d5a3

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

datafusion/common/src/tree_node.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,6 @@ pub trait TreeNode: Sized {
238238
transform_down_impl(self, &mut f)
239239
}
240240

241-
/// Same as [`Self::transform_down`] but with a mutable closure.
242-
#[deprecated(since = "38.0.0", note = "Use `transform_down` instead")]
243-
fn transform_down_mut<F: FnMut(Self) -> Result<Transformed<Self>>>(
244-
self,
245-
f: &mut F,
246-
) -> Result<Transformed<Self>> {
247-
self.transform_down(f)
248-
}
249-
250241
/// Recursively rewrite the node using `f` in a bottom-up (post-order)
251242
/// fashion.
252243
///
@@ -271,15 +262,6 @@ pub trait TreeNode: Sized {
271262
transform_up_impl(self, &mut f)
272263
}
273264

274-
/// Same as [`Self::transform_up`] but with a mutable closure.
275-
#[deprecated(since = "38.0.0", note = "Use `transform_up` instead")]
276-
fn transform_up_mut<F: FnMut(Self) -> Result<Transformed<Self>>>(
277-
self,
278-
f: &mut F,
279-
) -> Result<Transformed<Self>> {
280-
self.transform_up(f)
281-
}
282-
283265
/// Transforms the node using `f_down` while traversing the tree top-down
284266
/// (pre-order), and using `f_up` while traversing the tree bottom-up
285267
/// (post-order).

datafusion/physical-plan/src/insert.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ pub trait DataSink: DisplayAs + Debug + Send + Sync {
7373
) -> Result<u64>;
7474
}
7575

76-
#[deprecated(since = "38.0.0", note = "Use [`DataSinkExec`] instead")]
77-
pub type FileSinkExec = DataSinkExec;
78-
7976
/// Execution plan for writing record batches to a [`DataSink`]
8077
///
8178
/// Returns a single row with the number of values written

0 commit comments

Comments
 (0)