File tree Expand file tree Collapse file tree
google/cloud/bigquery/storage/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -422,6 +422,17 @@ message CreateWriteStreamRequest {
422422// The size of a single AppendRowsRequest must be less than 10 MB in size.
423423// Requests larger than this return an error, typically `INVALID_ARGUMENT`.
424424message AppendRowsRequest {
425+ // Arrow schema and data.
426+ // Arrow format is an experimental feature only selected for allowlisted
427+ // customers.
428+ message ArrowData {
429+ // Optional. Arrow Schema used to serialize the data.
430+ ArrowSchema writer_schema = 1 ;
431+
432+ // Required. Serialized row data in Arrow format.
433+ ArrowRecordBatch rows = 2 ;
434+ }
435+
425436 // ProtoData contains the data rows and schema when constructing append
426437 // requests.
427438 message ProtoData {
@@ -510,6 +521,10 @@ message AppendRowsRequest {
510521 oneof rows {
511522 // Rows in proto format.
512523 ProtoData proto_rows = 4 ;
524+
525+ // Rows in arrow format. This is an experimental feature only selected for
526+ // allowlisted customers.
527+ ArrowData arrow_rows = 5 ;
513528 }
514529
515530 // Id set by client to annotate its identity. Only initial request setting is
You can’t perform that action at this time.
0 commit comments