You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2024/02/02 12:15:00 UTC

[jira] [Assigned] (TINKERPOP-3045) EarlyLimitStrategy is too aggresive to promote Limit and thus causing incorrect results

     [ https://issues.apache.org/jira/browse/TINKERPOP-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Mallette reassigned TINKERPOP-3045:
-------------------------------------------

    Assignee: Stephen Mallette

> EarlyLimitStrategy is too aggresive to promote Limit and thus causing incorrect results
> ---------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-3045
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3045
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.6.6
>            Reporter: Prashant
>            Assignee: Stephen Mallette
>            Priority: Major
>              Labels: easyfix
>             Fix For: 3.6.7
>
>
> {code:java}
> gremlin>   g.V().map(__.in().hasId('1')).limit(2).values('name')
> ==>marko{code}
> {code:java}
> gremlin>   g.withoutStrategies(EarlyLimitStrategy).V().map(__.in().hasId('1')).limit(2).values('name')
> ==>marko
> ==>marko {code}
> Early Limit strategy pulls Limit in front of map steps. However not all map steps allow the cardinality of the results flowing to be same. 
>  
> As is shown in example above.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)