google-apis-spanner_v1 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f99ff9f6821502c873da0a908d418d033a1f6d9baff866c14287c1b6e5d4a1fb
|
4
|
+
data.tar.gz: ee944ff1114fdedcddf45fd62a9e5713e46118bfa87356193ca619f0b4ab54da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b00aa6d4ba8ed6403127765bb9f86126791f6a9ff3b3f20f65986d6304a295f4d50478d60639f459cc817920673a6db06a970c99f30302f86b1f18157edbbea
|
7
|
+
data.tar.gz: f2afbdbc190d30b4824c01f09ac50d841638e2b0fc6d9b61f505bc128fa1fd986091b753c92f256e9677da2e8dd12406ed50942ea63f96e9d0b46857dab61c88
|
data/CHANGELOG.md
CHANGED
@@ -2493,18 +2493,33 @@ module Google
|
|
2493
2493
|
class QueryOptions
|
2494
2494
|
include Google::Apis::Core::Hashable
|
2495
2495
|
|
2496
|
+
# Query optimizer statistics package to use. This parameter allows individual
|
2497
|
+
# queries to use a different query optimizer statistics. Specifying `latest` as
|
2498
|
+
# a value instructs Cloud Spanner to use the latest generated statistics package.
|
2499
|
+
# If not specified, Cloud Spanner uses statistics package set at the database
|
2500
|
+
# level options, or latest if the database option is not set. The statistics
|
2501
|
+
# package requested by the query has to be exempt from garbage collection. This
|
2502
|
+
# can be achieved with the following DDL statement: ``` ALTER STATISTICS SET
|
2503
|
+
# OPTIONS (allow_gc=false) ``` The list of available statistics packages can be
|
2504
|
+
# queried from `SPANNER_SYS.OPTIMIZER_STATISTICS_PACKAGES`. Executing a SQL
|
2505
|
+
# statement with an invalid optimizer statistics package or with statistics
|
2506
|
+
# package that allows garbage collection fails with an `INVALID_ARGUMENT` error.
|
2507
|
+
# Corresponds to the JSON property `optimizerStatisticsPackage`
|
2508
|
+
# @return [String]
|
2509
|
+
attr_accessor :optimizer_statistics_package
|
2510
|
+
|
2496
2511
|
# An option to control the selection of optimizer version. This parameter allows
|
2497
|
-
# individual queries to pick different query optimizer versions. Specifying
|
2498
|
-
# latest
|
2499
|
-
# optimizer version. If not specified, Cloud Spanner uses optimizer version
|
2500
|
-
# at the database level options. Any other positive integer (from the list
|
2501
|
-
# supported optimizer versions) overrides the default optimizer version for
|
2512
|
+
# individual queries to pick different query optimizer versions. Specifying `
|
2513
|
+
# latest` as a value instructs Cloud Spanner to use the latest supported query
|
2514
|
+
# optimizer version. If not specified, Cloud Spanner uses the optimizer version
|
2515
|
+
# set at the database level options. Any other positive integer (from the list
|
2516
|
+
# of supported optimizer versions) overrides the default optimizer version for
|
2502
2517
|
# query execution. The list of supported optimizer versions can be queried from
|
2503
2518
|
# SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS. Executing a SQL statement with an
|
2504
|
-
# invalid optimizer version
|
2505
|
-
#
|
2506
|
-
#
|
2507
|
-
#
|
2519
|
+
# invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://
|
2520
|
+
# cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more
|
2521
|
+
# information on managing the query optimizer. The `optimizer_version` statement
|
2522
|
+
# hint has precedence over this setting.
|
2508
2523
|
# Corresponds to the JSON property `optimizerVersion`
|
2509
2524
|
# @return [String]
|
2510
2525
|
attr_accessor :optimizer_version
|
@@ -2515,6 +2530,7 @@ module Google
|
|
2515
2530
|
|
2516
2531
|
# Update properties of this object
|
2517
2532
|
def update!(**args)
|
2533
|
+
@optimizer_statistics_package = args[:optimizer_statistics_package] if args.key?(:optimizer_statistics_package)
|
2518
2534
|
@optimizer_version = args[:optimizer_version] if args.key?(:optimizer_version)
|
2519
2535
|
end
|
2520
2536
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpannerV1
|
18
18
|
# Version of the google-apis-spanner_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210309"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1082,6 +1082,7 @@ module Google
|
|
1082
1082
|
class QueryOptions
|
1083
1083
|
# @private
|
1084
1084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1085
|
+
property :optimizer_statistics_package, as: 'optimizerStatisticsPackage'
|
1085
1086
|
property :optimizer_version, as: 'optimizerVersion'
|
1086
1087
|
end
|
1087
1088
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-spanner_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|