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 2025/10/10 11:48:00 UTC

[jira] [Updated] (TINKERPOP-3197) Default order(local) of Map

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

Stephen Mallette updated TINKERPOP-3197:
----------------------------------------
    Issue Type: Bug  (was: Improvement)

> Default order(local) of Map 
> ----------------------------
>
>                 Key: TINKERPOP-3197
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3197
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.7.4
>            Reporter: Stephen Mallette
>            Priority: Minor
>
> There is no default {{local}} scope ordering on {{Map}}:
> {code}
> g.V().groupCount().by(label).unfold().order()
> {code}
> this yields "java.util.HashMap$Node cannot be cast to java.lang.Comparable". Since we can sort {{Map.Entry}} it seems like this is just an implementation detail for Java that needs resolution.



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