feat: GQL support#849
Draft
SemyonSinchenko wants to merge 20 commits into
Draft
Conversation
Collaborator
Author
|
Even if spark uses https://github.com/ihji/sbt-antlr4 the plugin looks unmaintained (last commit 5 years ago, staled PRs and unanswered issues). And the whole plugin is less than 200 lines (and we need only part of it). So, my decision was to add our own internal plugin. |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #849 +/- ##
==========================================
+ Coverage 79.26% 80.33% +1.06%
==========================================
Files 81 90 +9
Lines 4712 5293 +581
Branches 554 646 +92
==========================================
+ Hits 3735 4252 +517
- Misses 977 1041 +64 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
optimizations will follow up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
A foundation for the future GQL query-engine: a graph schema. I'm going to use it to determine possible paths and split query to parts at the stage of query analysis.
At the moment:
PropertyGraphFrameJVM only for now.
Why are the changes needed?
Close #829
Related to #561
Related to #521
How it looks like?
Schema:
DOT-schema (can be imported to NetworkX or any other tool):