Skip to content

feat: cypher DSL support #521

Description

@SemyonSinchenko

It could be nice to have an ability to call something like:

gf = GraphFrame(v, e)
result: DataFrame = gf.cypher("MATCH (tom:Person {name: \"Tom Hanks\"})-[:ACTED_IN]->(tomHanksMovies)")

I briefly checked and it looks like we can use cypher-dsl-parser that allows to transform the query to the logical plan and we can use pattern matching to transform the logical plan to the series of GraphFrame API calls. The license of dsl-parser is Apache 2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions