Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure match behavior is in line with tinkerpop #167

Open
adamstruck opened this issue Nov 27, 2018 · 2 comments
Open

Make sure match behavior is in line with tinkerpop #167

adamstruck opened this issue Nov 27, 2018 · 2 comments

Comments

@adamstruck
Copy link
Contributor

No description provided.

@adamstruck
Copy link
Contributor Author

Here is a example from the Tinkerpop docs that grip does not currently support.

gremlin> graph.io(graphml()).readGraph('data/grateful-dead.xml')
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:808 edges:8049], standard]
gremlin> g.V().match(
                 __.as('a').has('name', 'Garcia'),
                 __.as('a').in('writtenBy').as('b'),
                 __.as('a').in('sungBy').as('b')).
               select('b').values('name')
==>CREAM PUFF WAR
==>CRYPTICAL ENVELOPMENT

@kellrott
Copy link
Member

In thinking about the GRIP query engine, the design model tends toward something that is more RISC than CISC. The match op involves a subchain, and can't be easily decomposed to different types of underlying engines. I think most of what someone would want to accomplish with the match command could be done by chaining together a number of less complex operations. So I would move to remove match from the op set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants