Skip to content

Commit 5756f39

Browse files
authored
Remove deprecated ScalarValue::get_datatype (#12361)
It's deprecated since v 31.
1 parent cad4146 commit 5756f39

File tree

1 file changed

+0
-8
lines changed
  • datafusion/common/src/scalar

1 file changed

+0
-8
lines changed

datafusion/common/src/scalar/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,14 +1321,6 @@ impl ScalarValue {
13211321
}
13221322
}
13231323

1324-
/// Getter for the `DataType` of the value.
1325-
///
1326-
/// Suggest using [`Self::data_type`] as a more standard API
1327-
#[deprecated(since = "31.0.0", note = "use data_type instead")]
1328-
pub fn get_datatype(&self) -> DataType {
1329-
self.data_type()
1330-
}
1331-
13321324
/// Calculate arithmetic negation for a scalar value
13331325
pub fn arithmetic_negate(&self) -> Result<Self> {
13341326
fn neg_checked_with_ctx<T: ArrowNativeTypeOp>(

0 commit comments

Comments
 (0)