edponce commented on pull request #11937:
URL: https://github.com/apache/arrow/pull/11937#issuecomment-996249724


   Some general comments:
   * `IsMonotonic` needs to be consistent with corresponding [sorting 
functions](https://arrow.apache.org/docs/cpp/compute.html#sorts-and-partitions),
 such that `IsMonotonic(input) == (Sort(input) == input)`.
   * Currently `IsMonotonic` outputs a struct describing the monotonic 
properties of the data. Would it make sense to provide a wrapper function that 
receives `FunctionOptions` with a single requested monotonic behavior? For 
example, `IsMonotonic(input, MonotonicOptions.StrictlyIncreasing)`


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