embulk-output-vertica 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/embulk-output-vertica.gemspec +1 -1
- data/lib/embulk/output/vertica.rb +3 -3
- 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: 3f78066cc105d0aa31d8fe9a70f9166facdef222
|
4
|
+
data.tar.gz: 9f60547ac77c5f54461722b907f8fafd5c32000c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fee2ba24167506cfe0ef7fbae612361ecc15bc42d35bbee245d0221f573742434768e8b49f11a62332ee8c8e8475e26d44fcce4259b963e459bb36c9f2c39d8
|
7
|
+
data.tar.gz: 257182e4efed2b0ef43b955ab989bcd658a9d14b5efb09dc56106c1dd1a7f68e6080414c91e534c5c4db480a29a54accff892bd63d6522fe7e72c6f5940aa3d0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "embulk-output-vertica"
|
3
|
-
spec.version = "0.1.
|
3
|
+
spec.version = "0.1.6"
|
4
4
|
spec.authors = ["eiji.sekiya", "Naotoshi Seo"]
|
5
5
|
spec.email = ["eiji.sekiya.0326@gmail.com", "sonots@gmail.com"]
|
6
6
|
spec.summary = "Vertica output plugin for Embulk"
|
@@ -59,7 +59,7 @@ module Embulk
|
|
59
59
|
ensure
|
60
60
|
connect(task) do |jv|
|
61
61
|
query(jv, %[DROP TABLE IF EXISTS #{quoted_schema}.#{quoted_temp_table}])
|
62
|
-
Embulk.logger.debug { query(jv, %[SELECT * FROM #{quoted_schema}.#{quoted_table} LIMIT 10]).map {|row| row.to_h }.join("\n") }
|
62
|
+
Embulk.logger.debug { query(jv, %[SELECT * FROM #{quoted_schema}.#{quoted_table} LIMIT 10]).map {|row| row.to_h }.join("\n") rescue nil }
|
63
63
|
end
|
64
64
|
end
|
65
65
|
return {}
|
@@ -140,7 +140,7 @@ module Embulk
|
|
140
140
|
end
|
141
141
|
|
142
142
|
def self.query(conn, sql)
|
143
|
-
Embulk.logger.debug sql
|
143
|
+
Embulk.logger.debug "embulk-output-vertica: #{sql}"
|
144
144
|
conn.query(sql)
|
145
145
|
end
|
146
146
|
|
@@ -149,7 +149,7 @@ module Embulk
|
|
149
149
|
end
|
150
150
|
|
151
151
|
def copy(conn, sql, &block)
|
152
|
-
Embulk.logger.debug sql
|
152
|
+
Embulk.logger.debug "embulk-output-vertica: #{sql}"
|
153
153
|
conn.copy(sql, &block)
|
154
154
|
end
|
155
155
|
|