Skip to content

Commit c479dee

Browse files
authored
fix deprecation notes with incorrect versions from #13083 (#19135)
The current version is [51.0.0](https://github.com/apache/datafusion/releases/tag/51.0.0) so the next release is 52.0.0. Since [our policy](https://datafusion.apache.org/contributor-guide/api-health.html#deprecation-guidelines) is to keep around for 6 releases / 6 months the final version actually was correct though.
1 parent 6746007 commit c479dee

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

datafusion/datasource/src/file_scan_config.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,8 @@ impl FileScanConfig {
818818
}
819819

820820
#[deprecated(
821-
since = "53.0.0",
822-
note = "This method is no longer used, use eq_properties instead. It will be removed in 58.0.0."
821+
since = "52.0.0",
822+
note = "This method is no longer used, use eq_properties instead. It will be removed in 58.0.0 or 6 months after 52.0.0 is released, whichever comes first."
823823
)]
824824
pub fn projected_constraints(&self) -> Constraints {
825825
let props = self.eq_properties();
@@ -838,8 +838,8 @@ impl FileScanConfig {
838838
}
839839

840840
#[deprecated(
841-
since = "53.0.0",
842-
note = "Use file_column_projection_indices instead. This method will be removed in 58.0.0."
841+
since = "52.0.0",
842+
note = "This method is no longer used, use eq_properties instead. It will be removed in 58.0.0 or 6 months after 52.0.0 is released, whichever comes first."
843843
)]
844844
pub fn file_column_projection_indices(&self) -> Option<Vec<usize>> {
845845
#[expect(deprecated)]

datafusion/physical-expr/src/projection.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ impl ProjectionExprs {
412412
///
413413
/// Panics if any expression in the projection is not a simple column reference.
414414
#[deprecated(
415-
since = "53.0.0",
416-
note = "Use column_indices() instead. This method will be removed in 58.0.0."
415+
since = "52.0.0",
416+
note = "Use column_indices() instead. This method will be removed in 58.0.0 or 6 months after 52.0.0 is released, whichever comes first."
417417
)]
418418
pub fn ordered_column_indices(&self) -> Vec<usize> {
419419
self.exprs

0 commit comments

Comments
 (0)