google-cloud-bigquery 1.49.0 → 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 +12 -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 +18 -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
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.50.0 (2024-06-27)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* add method in load_job to set column name character map ([#26135](https://github.com/googleapis/google-cloud-ruby/issues/26135))
|
8
|
+
|
9
|
+
### 1.49.1 (2024-06-05)
|
10
|
+
|
11
|
+
#### Bug Fixes
|
12
|
+
|
13
|
+
* Added bigdecimal to the gem dependencies ([#26012](https://github.com/googleapis/google-cloud-ruby/issues/26012))
|
14
|
+
|
3
15
|
### 1.49.0 (2024-03-10)
|
4
16
|
|
5
17
|
#### Features
|
@@ -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,8 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bigdecimal
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.0'
|
14
28
|
- !ruby/object:Gem::Dependency
|
15
29
|
name: concurrent-ruby
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -31,14 +45,14 @@ dependencies:
|
|
31
45
|
requirements:
|
32
46
|
- - "~>"
|
33
47
|
- !ruby/object:Gem::Version
|
34
|
-
version: '0.
|
48
|
+
version: '0.71'
|
35
49
|
type: :runtime
|
36
50
|
prerelease: false
|
37
51
|
version_requirements: !ruby/object:Gem::Requirement
|
38
52
|
requirements:
|
39
53
|
- - "~>"
|
40
54
|
- !ruby/object:Gem::Version
|
41
|
-
version: '0.
|
55
|
+
version: '0.71'
|
42
56
|
- !ruby/object:Gem::Dependency
|
43
57
|
name: google-apis-core
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|