Gremlin to Spark SQL Conversion with Visualization#2
Draft
tanvi2410 wants to merge 8 commits into
Draft
Conversation
0299ca7 to
d1e15ed
Compare
- Implement GremlinToRelConverter for direct Gremlin to RelNode conversion - Add REST API endpoint /api/gremlin/convert in coral-service - Add shell script client for easy CLI usage - Support common Gremlin patterns: g.V(), g.E(), .has(), .out(), .in(), .values() - Include comprehensive unit tests - Update documentation with architecture and usage examples
d1e15ed to
2696585
Compare
84d7ff4 to
7c1d771
Compare
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.
Summary
Converts Apache TinkerPop Gremlin graph queries to optimized Spark SQL with flat output and visual execution plans.
Key Features
Multi-hop graph traversals with correct join conditions and field references
Custom flat SQL generator - eliminates nested SELECTs, produces readable SQL with qualified field names
RelNode visualization - Graphviz diagrams showing query execution plans
Web UI - React form with configurable schemas and multi-panel results display
Example
Gremlin Query
SQL Query
Test