embulk-output-vertica 0.5.4 → 0.5.5
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/output_thread.rb +6 -0
- 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: 6d81c4848d4fad7d85e7faeff05cf759c49488d1
|
4
|
+
data.tar.gz: 21937e37ae064520bd43baaa0af03f9d593509a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef5e6d9dee4d26a7ddd13d67abdc59135e06c72a40151741941828fc23dfa8fc3552791f89e25d8e05027cf15035028323e9cb1e6fd29339a7242e92ddd443ce
|
7
|
+
data.tar.gz: c8068505624bc2f868dc3b402bc6a4af15af219c99696d5fbd91c13efa438adf1236fb1e27d12985febaa1d8c4f3362839f5a99ba6ce621c2b108bd8e26f2ea1
|
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.5.
|
3
|
+
spec.version = "0.5.5"
|
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"
|
@@ -39,6 +39,7 @@ module Embulk
|
|
39
39
|
@num_rejected_rows = 0
|
40
40
|
@outer_thread = Thread.current
|
41
41
|
@thread_active = false
|
42
|
+
@progress_log_timer = Time.now
|
42
43
|
|
43
44
|
case task['compress']
|
44
45
|
when 'GZIP'
|
@@ -79,6 +80,11 @@ module Embulk
|
|
79
80
|
buf << json << "\n"
|
80
81
|
@num_input_rows += 1
|
81
82
|
end
|
83
|
+
now = Time.now
|
84
|
+
if @progress_log_timer < now - 10 # once in 10 seconds
|
85
|
+
@progress_log_timer = now
|
86
|
+
Embulk.logger.info { "embulk-output-vertica: num_input_rows #{@num_input_rows}" }
|
87
|
+
end
|
82
88
|
end
|
83
89
|
|
84
90
|
def run
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-vertica
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- eiji.sekiya
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jvertica
|