fluent-plugin-bigobject 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-bigobject.gemspec +1 -1
- data/lib/fluent/plugin/out_bigobject.rb +1 -2
- 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: 930ca226c373ce91810a6197d365e65cfe11f2d4
|
4
|
+
data.tar.gz: c5d94024d78adfa61fbd33e721f33fd1eec1c3f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a06f1092a69e80b4b314371f30e107252f1d00433dd4ee0c6ed7f650af764b37f2e4d64744916c713313fb28a8ad267ef5de5388136c0d734bd10639f4f99034
|
7
|
+
data.tar.gz: b5c77e8eb80f165c8e01020e3952aa451d8d6aae1ac9d4fe0e985ef4158a488293b995d6b9b72d3e8bd9104232109626f16431d31ecdd0f0447077c3966eb3d3
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "fluent-plugin-bigobject"
|
4
|
-
gem.version = "0.0.
|
4
|
+
gem.version = "0.0.9"
|
5
5
|
gem.authors = ["Andrea Sung"]
|
6
6
|
gem.email = ["andrea@bigobject.io"]
|
7
7
|
gem.description = %q{Fluentd output plugin to insert BIGOBJECT }
|
@@ -85,12 +85,11 @@ class Fluent::BigObjectOutput < Fluent::BufferedOutput
|
|
85
85
|
if columns.to_s.empty?
|
86
86
|
columns = "(#{keys.join(",")})"
|
87
87
|
end
|
88
|
-
stmts.push("(
|
88
|
+
stmts.push("(\"#{values.join("\",\"")}\")")
|
89
89
|
i+=1
|
90
90
|
}
|
91
91
|
|
92
92
|
sendStmt = "INSERT INTO #{@table} #{columns} VALUES" + stmts.join(",")
|
93
|
-
|
94
93
|
resp = sendBO(@bo_url, sendStmt)
|
95
94
|
parsed = JSON.parse(resp)
|
96
95
|
err = parsed['Err']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-bigobject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Sung
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|