fluent-plugin-bigquery 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/bigquery/version.rb +1 -1
- data/lib/fluent/plugin/out_bigquery.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 075eee261a8ef67f432100cb96c3a21044d4bfb3
|
4
|
+
data.tar.gz: 653c5a4fafa36ef086acd320647cb74c4043751a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db36bf56eb0fb5a73d1e4a6d0f0bf4e6c4048e491f0d37a31b051417c6dc30e65baa82f70e8824e9fa63a0b8722e469bf24edc7385f7f821b435b24d89b82407
|
7
|
+
data.tar.gz: da6455f14f7eb440277a4ba93d2edf46871f71b0083ec128193a4665ee1201765656feaf732d1018df3fc3ac9a04e5097c3d5e20c472894f32b6aa48afb167c9
|
@@ -270,7 +270,7 @@ module Fluent
|
|
270
270
|
rescue => e
|
271
271
|
log.warn "Parse error: google api error response body", :body => res.body
|
272
272
|
end
|
273
|
-
if res_obj and res_obj['code'] == 409 and /Already Exists:/ =~ message
|
273
|
+
if res_obj and res_obj['error']['code'] == 409 and /Already Exists:/ =~ message
|
274
274
|
# ignore 'Already Exists' error
|
275
275
|
return
|
276
276
|
end
|
@@ -303,6 +303,7 @@ module Fluent
|
|
303
303
|
if @auto_create_table and res_obj and res_obj['error']['code'] == 404 and /Not Found: Table/i =~ message.to_s
|
304
304
|
# Table Not Found: Auto Create Table
|
305
305
|
create_table(table_id)
|
306
|
+
raise "table created. send rows next time."
|
306
307
|
end
|
307
308
|
end
|
308
309
|
log.error "tabledata.insertAll API", project_id: @project, dataset: @dataset, table: table_id, code: res.status, message: message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-bigquery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naoya Ito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|