Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add experimental ArrowData type and arrow_data field within AppendRowsRequest #517

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions protos/google/cloud/bigquery/storage/v1/storage.proto
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,17 @@ message CreateWriteStreamRequest {
// The size of a single AppendRowsRequest must be less than 10 MB in size.
// Requests larger than this return an error, typically `INVALID_ARGUMENT`.
message AppendRowsRequest {
// Arrow schema and data.
// Arrow format is an experimental feature only selected for allowlisted
// customers.
message ArrowData {
// Optional. Arrow Schema used to serialize the data.
ArrowSchema writer_schema = 1;

// Required. Serialized row data in Arrow format.
ArrowRecordBatch rows = 2;
}

// ProtoData contains the data rows and schema when constructing append
// requests.
message ProtoData {
Expand Down Expand Up @@ -510,6 +521,10 @@ message AppendRowsRequest {
oneof rows {
// Rows in proto format.
ProtoData proto_rows = 4;

// Rows in arrow format. This is an experimental feature only selected for
// allowlisted customers.
ArrowData arrow_rows = 5;
}

// Id set by client to annotate its identity. Only initial request setting is
Expand Down
111 changes: 110 additions & 1 deletion protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading