Skip to content

Commit

Permalink
Revert "feat: Adding new fields for Serverless analytics (#1816)"
Browse files Browse the repository at this point in the history
This reverts commit 2a6ca6f.
  • Loading branch information
surbhigarg92 committed Mar 13, 2023
1 parent 2a6ca6f commit 28698c7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 104 deletions.
14 changes: 0 additions & 14 deletions protos/google/spanner/v1/spanner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -643,13 +643,6 @@ message ExecuteSqlRequest {

// Common options for this request.
RequestOptions request_options = 11;

// If this is for a partitioned read and this field is set to `true`, the
// request will be executed via Spanner independent compute resources.
//
// If the field is set to `true` but the request does not set
// `partition_token`, the API will return an `INVALID_ARGUMENT` error.
bool data_boost_enabled = 15;
}

// The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
Expand Down Expand Up @@ -956,13 +949,6 @@ message ReadRequest {

// Common options for this request.
RequestOptions request_options = 11;

// If this is for a partitioned query and this field is set to `true`, the
// request will be executed via Spanner independent compute resources.
//
// If the field is set to `true` but the request does not set
// `partition_token`, the API will return an `INVALID_ARGUMENT` error.
bool data_boost_enabled = 16;
}

// The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
Expand Down
12 changes: 0 additions & 12 deletions protos/protos.d.ts

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

46 changes: 0 additions & 46 deletions protos/protos.js

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

8 changes: 0 additions & 8 deletions protos/protos.json

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

24 changes: 0 additions & 24 deletions src/v1/spanner_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,12 +824,6 @@ export class SpannerClient {
* Query optimizer configuration to use for the given query.
* @param {google.spanner.v1.RequestOptions} request.requestOptions
* Common options for this request.
* @param {boolean} request.dataBoostEnabled
* If this is for a partitioned read and this field is set to `true`, the
* request will be executed via Spanner independent compute resources.
*
* If the field is set to `true` but the request does not set
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
Expand Down Expand Up @@ -1081,12 +1075,6 @@ export class SpannerClient {
* PartitionReadRequest message used to create this partition_token.
* @param {google.spanner.v1.RequestOptions} request.requestOptions
* Common options for this request.
* @param {boolean} request.dataBoostEnabled
* If this is for a partitioned query and this field is set to `true`, the
* request will be executed via Spanner independent compute resources.
*
* If the field is set to `true` but the request does not set
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
Expand Down Expand Up @@ -1782,12 +1770,6 @@ export class SpannerClient {
* Query optimizer configuration to use for the given query.
* @param {google.spanner.v1.RequestOptions} request.requestOptions
* Common options for this request.
* @param {boolean} request.dataBoostEnabled
* If this is for a partitioned read and this field is set to `true`, the
* request will be executed via Spanner independent compute resources.
*
* If the field is set to `true` but the request does not set
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Stream}
Expand Down Expand Up @@ -1866,12 +1848,6 @@ export class SpannerClient {
* PartitionReadRequest message used to create this partition_token.
* @param {google.spanner.v1.RequestOptions} request.requestOptions
* Common options for this request.
* @param {boolean} request.dataBoostEnabled
* If this is for a partitioned query and this field is set to `true`, the
* request will be executed via Spanner independent compute resources.
*
* If the field is set to `true` but the request does not set
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Stream}
Expand Down

0 comments on commit 28698c7

Please sign in to comment.