[
https://issues.apache.org/jira/browse/TINKERPOP-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161914#comment-16161914
]
Marko A. Rodriguez commented on TINKERPOP-1777:
-----------------------------------------------
Perhaps throw a {{FastNoSuchElementException}}.
> Gremlin .max step returns -2147483648 for empty result sets
> -----------------------------------------------------------
>
> Key: TINKERPOP-1777
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1777
> Project: TinkerPop
> Issue Type: Bug
> Reporter: Sebastian Estevez
>
> To reproduce:
> <code>
> gremlin> g.V().values('test').max()
> ==>-2147483648
> <code>
> This should probably return an exeption, "cannot take max of nothing"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)