You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "viirya (via GitHub)" <gi...@apache.org> on 2023/09/08 16:30:50 UTC

[GitHub] [arrow-datafusion] viirya commented on a diff in pull request #7507: Minor: deprecate ScalarValue::get_datatype()

viirya commented on code in PR #7507:
URL: https://github.com/apache/arrow-datafusion/pull/7507#discussion_r1320084918


##########
datafusion/common/src/scalar.rs:
##########
@@ -1152,6 +1152,7 @@ impl ScalarValue {
     /// Getter for the `DataType` of the value.
     ///
     /// Suggest using  [`Self::data_type`] as a more standard API
+    #[deprecated(since = "30.0.0", note = "use data_type instead")]

Review Comment:
   ```suggestion
       #[deprecated(since = "31.0.0", note = "use data_type instead")]
   ```



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org