embulk-output-bigquery 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/embulk-output-bigquery.gemspec +1 -1
- data/lib/embulk/output/bigquery/bigquery_client.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee5e3d543b40d3a9e1cd8a0d9af9aa05ed84e12abcd805d6b6cc9c9ffc79e825
|
4
|
+
data.tar.gz: 4257cb1626c92e3d46be2dff689b0a4b1efa8983c7531913a195cb074e77bc36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9559bef20b7a5f644871f74bd64dbf90c9776deccbd0a59b2516a8a2fdab9a4952dd78dc8ec365992384286ec2f23ae15fa59d8e71f5dff36a72b38860a74bfe
|
7
|
+
data.tar.gz: edb4085785ad9ae94a53e31f4f13afec71da983856e0b94bde3e080d3280fb9e28c60ce259ecc3e336a77035afc9433e7ece11b3bdd6697c5e8bf7a52462eeb1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "embulk-output-bigquery"
|
3
|
-
spec.version = "0.7.
|
3
|
+
spec.version = "0.7.4"
|
4
4
|
spec.authors = ["Satoshi Akama", "Naotoshi Seo"]
|
5
5
|
spec.summary = "Google BigQuery output plugin for Embulk"
|
6
6
|
spec.description = "Embulk plugin that insert records to Google BigQuery."
|
@@ -21,7 +21,7 @@ module Embulk
|
|
21
21
|
@destination_project = @task['destination_project']
|
22
22
|
@dataset = @task['dataset']
|
23
23
|
@location = @task['location']
|
24
|
-
@location_for_log = @location.nil? ? '
|
24
|
+
@location_for_log = @location.nil? ? 'Primary location' : @location
|
25
25
|
|
26
26
|
@task['source_format'] ||= 'CSV'
|
27
27
|
@task['max_bad_records'] ||= 0
|
@@ -300,6 +300,7 @@ module Embulk
|
|
300
300
|
|
301
301
|
while true
|
302
302
|
job_id = _response.job_reference.job_id
|
303
|
+
location = @location || _response.job_reference.location
|
303
304
|
elapsed = Time.now - started
|
304
305
|
status = _response.status.state
|
305
306
|
if status == "DONE"
|
@@ -319,7 +320,7 @@ module Embulk
|
|
319
320
|
"job_id:[#{job_id}] elapsed_time:#{elapsed.to_f}sec status:[#{status}]"
|
320
321
|
}
|
321
322
|
sleep wait_interval
|
322
|
-
_response = with_network_retry { client.get_job(@project, job_id, location:
|
323
|
+
_response = with_network_retry { client.get_job(@project, job_id, location: location) }
|
323
324
|
end
|
324
325
|
end
|
325
326
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Satoshi Akama
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-12-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-apis-storage_v1
|