embulk-output-bigobject 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/embulk-output-bigobject.gemspec +1 -1
- data/lib/embulk/output/bigobject.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef8bcb1f718af068fbd06212695421ebf7dc0f1b
|
|
4
|
+
data.tar.gz: 06ab30a8366d909fb00850560d328ee1e1125be9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4cb6ceddd4c48afc581b4891f0c35a4101926fdb01170bdab38c96c320cb35585b064dd626883d2ff8a8a86a042df9c04231534e82e433d09c1d307681ddecd
|
|
7
|
+
data.tar.gz: 906155307452bc5765ade2e6db67afe2bc37802062b47e785ba7d8530d83ba901d182ce9979a40b2d8b03ae49f8b6ab1fb93bbcfe124b041e72e5421af824e45
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
Gem::Specification.new do |spec|
|
|
3
3
|
spec.name = "embulk-output-bigobject"
|
|
4
|
-
spec.version = "0.4.
|
|
4
|
+
spec.version = "0.4.5"
|
|
5
5
|
spec.authors = ["Cheng-Ching Huang"]
|
|
6
6
|
spec.summary = "Bigobject output plugin for Embulk"
|
|
7
7
|
spec.description = "Dumps records to Bigobject."
|
|
@@ -170,9 +170,9 @@ module Embulk
|
|
|
170
170
|
keys.push co["name"] if co["is_key"]
|
|
171
171
|
end
|
|
172
172
|
if keys.length == 0
|
|
173
|
-
"CREATE
|
|
173
|
+
"CREATE #{rowcol} TABLE #{tbl} (#{bo_table_schema})"
|
|
174
174
|
else
|
|
175
|
-
"CREATE
|
|
175
|
+
"CREATE #{rowcol} TABLE #{tbl} (#{bo_table_schema} KEY(#{keys.join(',')}))"
|
|
176
176
|
end
|
|
177
177
|
end
|
|
178
178
|
|