Add experimental openCypher graph query frontend#17938
Open
xiangfu0 wants to merge 1 commit into
Open
Conversation
xiangfu0
force-pushed
the
experimental-graph-query-frontend
branch
3 times, most recently
from
March 23, 2026 06:49
c8d0f7a to
7902d0f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #17938 +/- ##
============================================
+ Coverage 65.39% 65.50% +0.11%
+ Complexity 1405 1399 -6
============================================
Files 3423 3431 +8
Lines 215968 217283 +1315
Branches 34186 34382 +196
============================================
+ Hits 141228 142333 +1105
- Misses 63380 63520 +140
- Partials 11360 11430 +70
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
xiangfu0
force-pushed
the
experimental-graph-query-frontend
branch
from
March 30, 2026 10:43
7902d0f to
0263674
Compare
xiangfu0
force-pushed
the
experimental-graph-query-frontend
branch
2 times, most recently
from
July 19, 2026 08:10
bbdd050 to
2247441
Compare
Implements an experimental graph query feature that translates a subset of openCypher into SQL JOINs and executes via Pinot's multi-stage engine (MSE). This enables graph-style traversal queries over existing Pinot tables without introducing native graph runtime operators. Supported Cypher syntax: - MATCH with 1-hop and 2-hop traversals (outgoing, incoming, undirected) - WHERE with comparison operators, AND/OR/NOT, string predicates (STARTS WITH, ENDS WITH, CONTAINS), IN lists - RETURN with DISTINCT, column aliases (AS), aggregations (COUNT, SUM, AVG, MIN, MAX) with auto GROUP BY - ORDER BY (ASC/DESC), SKIP, LIMIT Architecture: - New pinot-graph module (pinot-graph-spi + pinot-graph-planner) - Hand-written recursive descent Cypher parser to IR to SQL generator - POST /query/graph broker endpoint (behind pinot.graph.enabled flag) - Graph schema passed inline in request JSON (vertex/edge to table mapping) Tests: 233 total (211 unit + 12 handler + 10 E2E integration with 2 servers) Closes: apache#17935
xiangfu0
force-pushed
the
experimental-graph-query-frontend
branch
from
July 20, 2026 08:10
2247441 to
99acfad
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
Adds an experimental graph query feature that translates a subset of openCypher into SQL JOINs and executes via Pinot's multi-stage engine. This enables graph-style traversal queries over existing Pinot tables without native graph runtime operators.
pinot-graphmodule (SPI + planner) with hand-written Cypher parser → IR → SQL transpilerPOST /query/graphbroker endpoint behindpinot.graph.enabledfeature flag (default: false)Design doc posted on #17935: #17935 (comment)
Closes #17935
Test plan
🤖 Generated with Claude Code