Re: lazy iteration semantics

2017-01-21 Thread pieter-gmail
Ok, thanks. Its tricky as it messes with the laziness and visibility of the queries. Can really think of a solution though. Cheers Pieter On 21/01/2017 21:14, Daniel Kuppitz wrote: > Hi Pieter, > > forEachRemaining iterates over the result and hence I would expect the > result to be 2.

Re: lazy iteration semantics

2017-01-21 Thread Daniel Kuppitz
Hi Pieter, forEachRemaining iterates over the result and hence I would expect the result to be 2. Otherwise you would / should end up with an endless loop. However, the same behavior is seen when you replace forEachRemaining with a sideEffect lambda step. Not sure what the expected behavior is /

RE: lazy iteration semantics

2017-01-21 Thread pieter-gmail
Hi, I need to clarify the expected semantics of gremlin's lazy iteration semantics. The following gremlin is what highlighted it. ``` @Test public void testLazy() { final TinkerGraph graph = TinkerGraph.open(); final Vertex a1 = graph.addVertex(T.label, "A");

[jira] [Closed] (TINKERPOP-1611) Groovy Security Issue: Remote execution of untrusted code, DoS

2017-01-21 Thread stephen mallette (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stephen mallette closed TINKERPOP-1611. --- Resolution: Duplicate Thanks james but already done for TinkerPop 3.1.x and up >

[jira] [Commented] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832946#comment-15832946 ] ASF GitHub Bot commented on TINKERPOP-1605: --- Github user dkuppitz commented on the issue:

[GitHub] tinkerpop issue #537: TINKERPOP-1605 gremlin-console 3.2.3 -e can no longer ...

2017-01-21 Thread dkuppitz
Github user dkuppitz commented on the issue: https://github.com/apache/tinkerpop/pull/537 Done. We already use `validate-distribution.sh` to test script evaluations, so it was easy to another test.

[GitHub] tinkerpop issue #537: TINKERPOP-1605 gremlin-console 3.2.3 -e can no longer ...

2017-01-21 Thread dkuppitz
Github user dkuppitz commented on the issue: https://github.com/apache/tinkerpop/pull/537 Oh, that's a good idea! I will add that. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[jira] [Commented] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832937#comment-15832937 ] ASF GitHub Bot commented on TINKERPOP-1605: --- Github user dkuppitz commented on the issue:

[jira] [Commented] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832934#comment-15832934 ] ASF GitHub Bot commented on TINKERPOP-1605: --- Github user robertdale commented on the issue:

[GitHub] tinkerpop issue #537: TINKERPOP-1605 gremlin-console 3.2.3 -e can no longer ...

2017-01-21 Thread robertdale
Github user robertdale commented on the issue: https://github.com/apache/tinkerpop/pull/537 Isn't there a distribution verification that does tests? I know it's post-build, but that's better than nothing. --- If your project is set up for it, you can reply to this email and have

[jira] [Commented] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832932#comment-15832932 ] ASF GitHub Bot commented on TINKERPOP-1605: --- Github user asfgit closed the pull request at:

[jira] [Closed] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread Daniel Kuppitz (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kuppitz closed TINKERPOP-1605. - Resolution: Fixed Fix Version/s: 3.2.4 > gremlin-console 3.2.3 -e can no

[GitHub] tinkerpop pull request #537: TINKERPOP-1605 gremlin-console 3.2.3 -e can no ...

2017-01-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/tinkerpop/pull/537 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[jira] [Commented] (TINKERPOP-1605) gremlin-console 3.2.3 -e can no longer take paths relative to current working directory

2017-01-21 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/TINKERPOP-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15832931#comment-15832931 ] ASF GitHub Bot commented on TINKERPOP-1605: --- Github user dkuppitz commented on the issue:

[GitHub] tinkerpop issue #537: TINKERPOP-1605 gremlin-console 3.2.3 -e can no longer ...

2017-01-21 Thread dkuppitz
Github user dkuppitz commented on the issue: https://github.com/apache/tinkerpop/pull/537 Same here. I can't think of a way to test `gremlin.sh`. The script requires that the project was built, but tests can be run without building the project upfront. Going to merge this PR for now.