sweb commented on code in PR #22892:
URL: https://github.com/apache/datafusion/pull/22892#discussion_r3412631051


##########
datafusion/common/src/scalar/mod.rs:
##########
@@ -2585,63 +2586,108 @@ impl ScalarValue {
     /// distance is greater than [`usize::MAX`]. If the type is a float, then 
the distance will be
     /// rounded to the nearest integer.
     ///
-    ///
     /// Note: the datatype itself must support subtraction.
+    #[deprecated(since = "54.0.0", note = "Use distance_u64 instead")]

Review Comment:
   @kosiew I removed the deprecation note as I am not sure what the right next 
version would be - I also updated the PR description mentioning that 
deprecation of `distance` is not part of this PR.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to