Skip to content

Commit

Permalink
feat: add trace_id for Read API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 429809867
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 20, 2022
1 parent f19466b commit 6052603
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion google/cloud/bigquery/storage/v1/stream.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -132,6 +132,14 @@ message ReadSession {
// all streams are completely consumed. This estimate is based on
// metadata from the table which might be incomplete or stale.
int64 estimated_total_bytes_scanned = 12 [(google.api.field_behavior) = OUTPUT_ONLY];

// Optional. ID set by client to annotate a session identity. This does not need
// to be strictly unique, but instead the same ID should be used to group
// logically connected sessions (e.g. All using the same ID for all sessions
// needed to complete a Spark SQL query is reasonable).
//
// Maximum length is 256 bytes.
string trace_id = 13 [(google.api.field_behavior) = OPTIONAL];
}

// Information about a single stream that gets data out of the storage system.
Expand Down

0 comments on commit 6052603

Please sign in to comment.