google-cloud-bigquery 1.49.1 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/bigquery/convert.rb +15 -0
- data/lib/google/cloud/bigquery/load_job.rb +18 -0
- data/lib/google/cloud/bigquery/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e67dfdf938a25ab1800e16136f9d3bc9e1253eb16a89cdfb6437b835148b971
|
4
|
+
data.tar.gz: f12d0a0281546ad8830602bd8c8cfda0017bfa6ddf326abe9875e9ebaaeb7165
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27031288672aa253d5250fecc387cfce57cddc16a82bc43ae8b09fef1c38a32f31df8884815bb5f65d10a701cbefc0c7a220295fef87088972199fdd75cce272
|
7
|
+
data.tar.gz: a9d57161072a53ddbc488b9a8f4d837b82869d234510d7a18637f50534a39964214a022164b74639505c9116d21f38ec55bd856d2a8f578696cfc0e119c043ad
|
data/CHANGELOG.md
CHANGED
@@ -310,6 +310,21 @@ module Google
|
|
310
310
|
str
|
311
311
|
end
|
312
312
|
|
313
|
+
##
|
314
|
+
# Converts character map strings to API values.
|
315
|
+
#
|
316
|
+
# @return [String] API representation of character map.
|
317
|
+
def self.character_map mapping_version
|
318
|
+
val = {
|
319
|
+
"default" => "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED",
|
320
|
+
"strict" => "STRICT",
|
321
|
+
"v1" => "V1",
|
322
|
+
"v2" => "V2"
|
323
|
+
}[mapping_version.to_s.downcase]
|
324
|
+
return val unless val.nil?
|
325
|
+
mapping_version
|
326
|
+
end
|
327
|
+
|
313
328
|
##
|
314
329
|
# Converts source format strings to API values.
|
315
330
|
#
|
@@ -1727,6 +1727,24 @@ module Google
|
|
1727
1727
|
@gapi.configuration.load.update! source_format: Convert.source_format(new_format)
|
1728
1728
|
end
|
1729
1729
|
|
1730
|
+
##
|
1731
|
+
# Sets the character map for column name conversion. The default value is `default`.
|
1732
|
+
#
|
1733
|
+
# The following values are supported:
|
1734
|
+
#
|
1735
|
+
# * `default`
|
1736
|
+
# * `strict`
|
1737
|
+
# * `v1`
|
1738
|
+
# * `v2`
|
1739
|
+
#
|
1740
|
+
# @param [String] new_character_map The new character map.
|
1741
|
+
#
|
1742
|
+
# @!group Attributes
|
1743
|
+
#
|
1744
|
+
def column_name_character_map= new_character_map
|
1745
|
+
@gapi.configuration.load.update! column_name_character_map: Convert.character_map(new_character_map)
|
1746
|
+
end
|
1747
|
+
|
1730
1748
|
##
|
1731
1749
|
# Sets the create disposition.
|
1732
1750
|
#
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-06-
|
12
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bigdecimal
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '0.
|
48
|
+
version: '0.71'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '0.
|
55
|
+
version: '0.71'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: google-apis-core
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|