-
Notifications
You must be signed in to change notification settings - Fork 2.3k
chore: add missing since versions to #[deprecated] attributes
#24544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2560,7 +2560,7 @@ type AggregateExprWithOptionalArgs = ( | |
| ); | ||
|
|
||
| /// Create an aggregate expression with a name from a logical expression | ||
| #[deprecated(note = "use LoweredAggregateBuilder")] | ||
| #[deprecated(since = "54.0.0", note = "use LoweredAggregateBuilder")] | ||
| pub fn create_aggregate_expr_with_name_and_maybe_filter( | ||
| e: &Expr, | ||
| name: Option<String>, | ||
|
|
@@ -2587,7 +2587,7 @@ pub fn create_aggregate_expr_with_name_and_maybe_filter( | |
| } | ||
|
|
||
| /// Create an aggregate expression from a logical expression or an alias | ||
| #[deprecated(note = "use LoweredAggregateBuilder")] | ||
| #[deprecated(since = "54.0.0", note = "use LoweredAggregateBuilder")] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| pub fn create_aggregate_expr_and_maybe_filter( | ||
| e: &Expr, | ||
| logical_input_schema: &DFSchema, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ | |
| // under the License. | ||
|
|
||
| #[deprecated( | ||
| since = "47.0.0", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| note = "overlay has been moved to core. Update imports to use core::overlay." | ||
| )] | ||
| pub use crate::core::overlay::*; | ||
|
Comment on lines
18
to
22
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cant this be removed from the codebase now since its been two releases? |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1343,7 +1343,7 @@ fn rewrite_projection( | |
| /// Creates a new LogicalPlan::Filter node. | ||
| /// | ||
| /// Deprecated: use [`Filter::try_new`] directly. | ||
| #[deprecated] | ||
| #[deprecated(since = "55.0.0", note = "Use `Filter::try_new` instead")] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| pub fn make_filter(predicate: Expr, input: Arc<LogicalPlan>) -> Result<LogicalPlan> { | ||
| Filter::try_new(predicate, input).map(LogicalPlan::Filter) | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -476,7 +476,7 @@ pub fn spsc_channel( | |
| } | ||
|
|
||
| /// Alias for [`mpsc_channel`]. | ||
| #[deprecated(note = "Use mpsc_channel instead")] | ||
| #[deprecated(since = "55.0.0", note = "Use mpsc_channel instead")] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| pub fn channel( | ||
| max_file_size_bytes: usize, | ||
| spill_manager: Arc<SpillManager>, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecated in #21739 (commit 5cf8eef, 2026-05-17), first released in 54.0.0.