alamb commented on code in PR #7492:
URL: https://github.com/apache/arrow-datafusion/pull/7492#discussion_r1319677060


##########
datafusion/common/src/scalar.rs:
##########
@@ -1149,6 +1149,13 @@ impl ScalarValue {
         }
     }
 
+    /// Getter for the `DataType` of the value.
+    ///
+    /// Suggest using  [`Self::data_type`] as a more standard API
+    pub fn get_datatype(&self) -> DataType {
+        self.data_type()
+    }

Review Comment:
   Filed https://github.com/apache/arrow-datafusion/issues/7506 to track



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to