opencypher / cypher-for-gremlin

Cypher for Gremlin adds Cypher support to any Gremlin graph database.
Apache License 2.0
359 stars 48 forks source link

Add support for REDUCE #332

Open GiancarloLelli opened 5 years ago

GiancarloLelli commented 5 years ago

Hi all I was trying to translate a Cypher statement that contained the REDUCE instruction, but the parse method fails saying that the REDUCE expression is not supported. Any change this get added?

The statement can be found here: https://neo4j.com/graphgist/movie-recommendations-with-k-nearest-neighbors-and-cosine-similarity

The need to conversion risen because I'm trying to implement that k-NN logic and cosine similarity on Azure Cosmos DB.

dwitry commented 5 years ago

Hello @GiancarloLelli,

thank you for suggestion.

Currently, it is not planned for implementation, but contributions are always welcome.

GiancarloLelli commented 5 years ago

Hi @dwitry I would be willing to help, but I need some hints :)

dwitry commented 5 years ago

Hello @GiancarloLelli ,

Great to know!

For high level overview see:

I've also just created new page How to implement new Cypher feature?.

Feel free to ask more specific questions in this issue, I will be happy to assist when I have time available.