[ 
https://issues.apache.org/jira/browse/TINKERPOP-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16371774#comment-16371774
 ] 

Daniel Kuppitz commented on TINKERPOP-1888:
-------------------------------------------

I'd like to push this one into 3.4 as I just realized that I have to deal with 
the same issues, that I already solved in TINKERPOP-1777. The problem is that 
we have a seed value for {{min}} and {{max}} ({{Double.NaN}}), which really 
makes these steps only usable for numbers. Now changing the seed value sounds 
easy at first, but I really opened a can of worms when I did that for 
TINKERPOP-1777.

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

Reply via email to