FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(proto): execute Java-built protobuf plans via SessionContext by andygrove · Pull Request #13 · apache/datafusion-java · GitHub

Repository navigation

feat(proto): execute Java-built protobuf plans via SessionContext - #13

Merged
andygrove merged 10 commits into
apache:mainfrom
andygrove:execute-proto-plan
May 13, 2026
Merged

andygrove merged 10 commits into
apache:mainfrom
andygrove:execute-proto-plan

Conversation

andygrove commented May 13, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Closes #8

Adds the ability to pass a logical plan into the session context for execution.

The plan can be built from the datafusion-proto generated representation (not a great UX, but we can provide DataFrame style builder later). Once the plan is created, it can be executed with:

try (BufferAllocator allocator = new RootAllocator();
        SessionContext ctx = new SessionContext();
        DataFrame df = ctx.fromProto(plan.toByteArray());
        ArrowReader reader = df.collect(allocator)) {

andygrove marked this pull request as draft May 13, 2026 02:58
andygrove marked this pull request as draft May 13, 2026 02:58
andygrove merged commit 757a078 into apache:main May 13, 2026
1 check passed
andygrove deleted the execute-proto-plan branch May 13, 2026 06:33
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build and execute Java-constructed protobuf plans via SessionContext

1 participant


Back | FazBrowse Home | New Git URL