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 2020/03/19 14:24:00 UTC

[jira] [Created] (TINKERPOP-2351) Local Map ordering of keys can generate cast errors

Stephen Mallette created TINKERPOP-2351:
-------------------------------------------

             Summary: Local Map ordering of keys can generate cast errors
                 Key: TINKERPOP-2351
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2351
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.3.10
            Reporter: Stephen Mallette
            Assignee: Stephen Mallette


The issue is that if the {{Map}} contains enums like {{T}} it doesn't play well with non-enum keys that are typically integrated in there when using something like {{elementMap()}} or {{valueMap()}}:

{code}
gremlin> g.V().valueMap(true).order(local).by(keys,desc)
java.lang.String cannot be cast to java.lang.Enum
Type ':help' or ':h' for help.
Display stack trace? [yN]n
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)