diff --git a/datafusion/common/src/scalar/mod.rs b/datafusion/common/src/scalar/mod.rs index 0cb325e0b02b..c98a4428a81b 100644 --- a/datafusion/common/src/scalar/mod.rs +++ b/datafusion/common/src/scalar/mod.rs @@ -1321,14 +1321,6 @@ impl ScalarValue { } } - /// Getter for the `DataType` of the value. - /// - /// Suggest using [`Self::data_type`] as a more standard API - #[deprecated(since = "31.0.0", note = "use data_type instead")] - pub fn get_datatype(&self) -> DataType { - self.data_type() - } - /// Calculate arithmetic negation for a scalar value pub fn arithmetic_negate(&self) -> Result { fn neg_checked_with_ctx(