[ 
https://issues.apache.org/jira/browse/TINKERPOP-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973118#comment-16973118
 ] 

ASF GitHub Bot commented on TINKERPOP-2313:
-------------------------------------------

javeme commented on pull request #1222: TINKERPOP-2313 Support 
g.E().properties().hasKey('xx') & hasValue('xx')
URL: https://github.com/apache/tinkerpop/pull/1222
 
 
   https://issues.apache.org/jira/browse/TINKERPOP-2313
   
   Currently, an exception will be thrown for this query: `XxProperty cannot be 
cast to Element`
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Support query: g.E().properties().hasKey("xx") & hasValue("xx")
> ---------------------------------------------------------------
>
>                 Key: TINKERPOP-2313
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2313
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.3
>            Reporter: Jermy Li
>            Priority: Major
>
> Currently, it's OK to filter vertex properties by key/value, like 
> g.V().properties().hasKey("xx"),
> but an exception will be thrown for query with edge properties filtering:
> {code:java}
> g.E().properties().hasKey("xx") => XxProperty cannot be cast to Element
> {code}
>  like:
> {code:java}
> org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty cannot be 
> cast to org.apache.tinkerpop.gremlin.structure.Element
> {code}



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

Reply via email to