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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35d59b338b96a20d4f2e1e3813a69c438e912ba2
4
- data.tar.gz: cb181b560fa4733fa928d14f2d71900307e737f2
3
+ metadata.gz: 075eee261a8ef67f432100cb96c3a21044d4bfb3
4
+ data.tar.gz: 653c5a4fafa36ef086acd320647cb74c4043751a
5
5
  SHA512:
6
- metadata.gz: dbaf2f9cece39291dc996eb06ffa053b4c4894d19421605e86883104f93920ca75dc06d29a6afca644df240f9500a4037d1e265780102c991732847d121d0474
7
- data.tar.gz: 318e66bd979a715d2f9faf53407ffa20916e70a01a1de313296ced23e372cbab8d38073405d161fcbc880b1585577272f4a3a879909e4161d7576c879d1b2685
6
+ metadata.gz: db36bf56eb0fb5a73d1e4a6d0f0bf4e6c4048e491f0d37a31b051417c6dc30e65baa82f70e8824e9fa63a0b8722e469bf24edc7385f7f821b435b24d89b82407
7
+ data.tar.gz: da6455f14f7eb440277a4ba93d2edf46871f71b0083ec128193a4665ee1201765656feaf732d1018df3fc3ac9a04e5097c3d5e20c472894f32b6aa48afb167c9
@@ -1,6 +1,6 @@
1
1
  module Fluent
2
2
  module BigQueryPlugin
3
- VERSION = "0.2.8"
3
+ VERSION = "0.2.9"
4
4
  end
5
5
  end
6
6
 
@@ -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.8
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-04-23 00:00:00.000000000 Z
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake