[
https://issues.apache.org/jira/browse/TINKERPOP-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Estevez updated TINKERPOP-1777:
-----------------------------------------
Description:
To reproduce:
{{code}}
gremlin> g.V().values('test').max()
==>-2147483648
{{code}}
This should probably return an exeption, "cannot take max of nothing"
was:
To reproduce:
<code>
gremlin> g.V().values('test').max()
==>-2147483648
<code>
This should probably return an exeption, "cannot take max of nothing"
> 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)