alamb opened a new issue, #7506: URL: https://github.com/apache/arrow-datafusion/issues/7506
### Is your feature request related to a problem or challenge? We introduced `ScalarValue::data_type()` in https://github.com/apache/arrow-datafusion/pull/7492 to be consistent with other APIs for getting `DataType`. However the previous `ScalarValue::get_datatype()` https://github.com/apache/arrow-datafusion/pull/7492#event-10314345235 ### Describe the solution you'd like 1. Mark `ScalarValue::get_datatype()` deprecated (like this): https://github.com/apache/arrow-datafusion/blob/93c209f1b5d0a17b2aa5c6743cbd3cb189a406c8/datafusion/expr/src/table_source.rs#L81-L87 2. Update the uses in the datafusion codebase to pass clippy (update to use `ScalarValue::data_type()`) ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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]
