[
https://issues.apache.org/jira/browse/TINKERPOP-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425632#comment-16425632
]
ASF GitHub Bot commented on TINKERPOP-1888:
-------------------------------------------
Github user robertdale commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/829#discussion_r179166260
--- Diff: docs/src/reference/the-traversal.asciidoc ---
@@ -1515,16 +1516,17 @@
link:++http://tinkerpop.apache.org/javadocs/x.y.z/core/org/apache/tinkerpop/grem
[[min-step]]
=== Min Step
-The `min()`-step (*map*) operates on a stream of numbers and determines
which is the smallest number in the stream.
+The `min()`-step (*map*) operates on a stream of comparable objects and
determines which is the smallest object in the stream.
--- End diff --
~~smallest object~~ first object according to its natural sort order
> Extend max and min to all Comparable properties, not just Numbers
> -----------------------------------------------------------------
>
> Key: TINKERPOP-1888
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1888
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.2.7
> Reporter: Philip Graff
> Assignee: Daniel Kuppitz
> Priority: Major
> Labels: breaking
>
> Currently, min() and max() only operate on properties that extend Number.
> However, these should be able to be applied to anything which implements
> Comparable as they are well-defined for those, too. Other steps like mean()
> and sum() should stay just for Numbers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)