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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fce85ac19d1f8d081c0c35217be4a624a281e242
4
- data.tar.gz: 35c8a1b4e33cf62653e84e69fb4e611db79f83f1
3
+ metadata.gz: 6d81c4848d4fad7d85e7faeff05cf759c49488d1
4
+ data.tar.gz: 21937e37ae064520bd43baaa0af03f9d593509a9
5
5
  SHA512:
6
- metadata.gz: 5d2126b126a0ffb47be5ed8218823096395e23cc9afc3fc67bcc1b0cd5e2ed3a90c17daeedddb4ebf1020972f005dec9288c363b8e2cae88b576845774c8c3e4
7
- data.tar.gz: c912765ff8a69422e607fe0b6d52ec16ee09c02434277c1be45f5d511470ce89f62a8b28fb80d03b804b2e22995fc91916fc45fddafbe80f97412faab4cffbaf
6
+ metadata.gz: ef5e6d9dee4d26a7ddd13d67abdc59135e06c72a40151741941828fc23dfa8fc3552791f89e25d8e05027cf15035028323e9cb1e6fd29339a7242e92ddd443ce
7
+ data.tar.gz: c8068505624bc2f868dc3b402bc6a4af15af219c99696d5fbd91c13efa438adf1236fb1e27d12985febaa1d8c4f3362839f5a99ba6ce621c2b108bd8e26f2ea1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.5.5 (2016/01/22)
2
+
3
+ Changes:
4
+
5
+ * Show input_num_rows info log to see progress
6
+
1
7
  # 0.5.4 (2016/01/21)
2
8
 
3
9
  Enhancements:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "embulk-output-vertica"
3
- spec.version = "0.5.4"
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
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-21 00:00:00.000000000 Z
12
+ date: 2016-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jvertica