ftsrg / ingraph

Incremental view maintenance for openCypher graph queries.
http://docs.inf.mit.bme.hu/ingraph/
Eclipse Public License 1.0
47 stars 10 forks source link

Adjust compiler to the openCypher M10 Xtext grammar #346

Closed jmarton closed 5 years ago

jmarton commented 5 years ago

In the grammar, M09 introduced more changes, and M10 did some polishing steps. This PR handles both of them and should need M10-compliant Xtext grammar as a maven dependency.

szarnyasg commented 5 years ago

I deployed the current version of the Slizaa openCypher M10 port to our Maven repository.

Currently, there are some failing tests:

BiCompilerTest / bi-05 from file: Top posters in a country

Message: | Unresolvable name popularForumId.
-- | --
Exception: | ingraph.compiler.exceptions.NameResolutionException

BiCompilerTest / bi-21 from file: Zombies in a country

Message: | Unresolvable name zombieId.
-- | --
Exception: | ingraph.compiler.exceptions.NameResolutionException

RandomCompilationTest / should compile vertices COLLECT'ed then UNWIND as a vertex

Message: | Name collision across types: p2. In the cache, it is class ingraph.model.expr.VertexAttribute, but now it was passed as class ingraph.model.expr.UnwindAttribute
-- | --
Exception: | ingraph.compiler.exceptions.CompilerException