Skip to content

feat(GRPC-spec): define grpc contract between Query parser and query …#7

Merged
Rich-T-kid merged 11 commits intomainfrom
pre-release
Nov 14, 2025
Merged

feat(GRPC-spec): define grpc contract between Query parser and query …#7
Rich-T-kid merged 11 commits intomainfrom
pre-release

Conversation

@Rich-T-kid
Copy link
Copy Markdown
Owner

…execution enginee

Copilot AI review requested due to automatic review settings November 12, 2025 18:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR defines a gRPC contract between the Query parser and query execution engine, establishing the communication protocol for executing SQL queries with Substrait logical plans.

  • Adds gRPC service definition with request/response messages for query execution
  • Includes test data structure for S3 source files
  • Updates documentation to reflect removed sections and clarify prerequisites

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 7 comments.

File Description
src/Contract/operation.proto New gRPC service definition for query execution with Substrait logical plans, including request/response messages, error handling enums, and data flow documentation
src/Backend/test_data/s3_source/source.json Test data structure showing example S3 file paths for CSV, JSON, and Parquet formats
README.md Updated prerequisites with C++ version, removed outdated project directory description, and cleaned up license section formatting
.gitignore Added exclusions for large test data files (parquet, csv, json) while explicitly allowing the s3_source directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread src/Contract/operation.proto Outdated
Comment thread src/Contract/operation.proto Outdated
Comment thread src/Contract/operation.proto Outdated
Comment thread src/Contract/operation.proto Outdated
Comment thread src/Contract/operation.proto Outdated
Rich-T-kid and others added 8 commits November 12, 2025 14:28
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Rich-T-kid
Copy link
Copy Markdown
Owner Author

provide a class for dealing with writing record batches to file(s) and reading them back in in chunks and then repeating this proccess. Will be very useful for pipeline breakers down the line. Then once thats done merge into main before starting on operators like (Project, filter, limit)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 10 out of 12 changed files in this pull request and generated 12 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Backend/opti-sql-go/operators/serialize_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Contract/operation.proto
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Contract/operation.proto Outdated
Comment thread src/Contract/operation.proto
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 27 out of 29 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Backend/opti-sql-go/substrait/server.go
Comment thread src/Backend/opti-sql-go/substrait/server.go Outdated
Comment thread src/Backend/opti-sql-go/substrait/substrait_test.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize.go Outdated
Comment thread src/Backend/opti-sql-go/config/config.go Outdated
Comment thread src/Backend/opti-sql-go/substrait/operation_grpc.pb.go
Comment thread src/Backend/opti-sql-go/substrait/server.go Outdated
Comment thread src/Backend/opti-sql-go/substrait/substrait_test.go Outdated
Comment thread src/Backend/opti-sql-go/config/config.go Outdated
Comment thread src/Backend/opti-sql-go/operators/serialize_test.go Outdated
@Rich-T-kid Rich-T-kid force-pushed the pre-release branch 2 times, most recently from cde64d0 to 1dce3d4 Compare November 14, 2025 23:36
@Rich-T-kid Rich-T-kid merged commit 1883c90 into main Nov 14, 2025
5 checks passed
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.

2 participants