[
https://issues.apache.org/jira/browse/TINKERPOP-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388358#comment-16388358
]
ASF GitHub Bot commented on TINKERPOP-1777:
-------------------------------------------
Github user spmallette commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/805#discussion_r172629315
--- Diff: gremlin-test/features/branch/Union.feature ---
@@ -135,7 +135,6 @@ Feature: Step - union()
| d[3].l |
| d[0].l |
| d[1.9].d |
- | d[0].i |
--- End diff --
just so i'm clear, this value is no longer in the output because vadas (aka
`v[2]`) has no out edges to sum a weight on...is that right? if so, do you
happen to know what catches the thrown `FastNoSuchElementException` and
prevents it from bubbling up just kill the whole traversal? (i'm just trying to
follow how the code works here for my own edification)
> 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
> Components: process
> Affects Versions: 3.2.6
> Reporter: Sebastian Estevez
> Assignee: Daniel Kuppitz
> Priority: Major
> Labels: breaking
>
> 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
(v7.6.3#76005)