embulk-guess-csv_verify 0.10.34-java → 0.10.35-java

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
  SHA256:
3
- metadata.gz: 6821d82dd644e0bd99175c2cd4ae5d966b285edeae0d148c3d067d9e00e52e91
4
- data.tar.gz: 614e3a3de85764fa28a57586005c121510c8c09db4716d796515105641abfc97
3
+ metadata.gz: aa4fcd409e277c13790098ded8a59d411e39cfb9914b724d739d5aef5cab4122
4
+ data.tar.gz: 9dcede15658fe19cd2e25b3e20badd38a0161f3facee19a78c51b4191f0004d6
5
5
  SHA512:
6
- metadata.gz: 73118735cc8ca7950c772b332b9c0abdcc5e2554acc3a87ee4cc4a6e66c60c903e6dbbbfbcbb1c36615babc6995dbdacd0c7f011b5dc8bcd9665816746197368
7
- data.tar.gz: 3e1e3dd2f194c76d623a6bdc9f1f98eb67a4531ce59ce7fc31350b8c9577bd840b3465946fa2dfb4c7ff3dc29ac3ce0ce4261ed5adf96f589edaeac030559de9
6
+ metadata.gz: 18c5376114aa3f9c616378d5243469a1a16d5824355412d80c01f1d8d1667e525bfa778f8fa19bb48cb210ff76f07bfe93174c28700a45fa5bc7acbf353668da
7
+ data.tar.gz: aac5cb9c66e3290a3b8daeeacb969646035267ad6d3aa4718fa23ee5281280c8a3ba4ad636e23d5475dde809d38a685b6a420fc87a8837e3d15425d804041816
@@ -64,7 +64,7 @@ module Embulk
64
64
 
65
65
  begin
66
66
  guess_plugin_java = CSV_GUESS_PLUGIN_CLASS.new
67
- guessed_java = guess_plugin_java.guess_lines(config_to_java(config), config_to_java(sample_lines))
67
+ guessed_java = guess_plugin_java.guess_lines(config_to_java(config), config_to_java(sample_lines), Java::org.embulk.spi.Exec.getBufferAllocator)
68
68
  if guessed_java.nil?
69
69
  raise "embulk-guess-csv (Java) returned null."
70
70
  end
@@ -76,7 +76,7 @@ module Embulk
76
76
  end
77
77
  rescue Exception => e
78
78
  # Any error from the Java-based guess plugin should pass-through just with logging.
79
- Embulk.logger.error "[Embulk CSV guess verify] #{e.inspect}"
79
+ Embulk.logger.error "[Embulk CSV guess verify] #{e.inspect}\n\t#{e.backtrace.join("\n\t")}"
80
80
  end
81
81
 
82
82
  # This plugin returns a result from the Ruby-based implementation.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-guess-csv_verify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.34
4
+ version: 0.10.35
5
5
  platform: java
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-10-05 00:00:00.000000000 Z
13
+ date: 2021-10-07 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Verification-purpose Embulk CSV guess plugin to compare the old Ruby-based
16
16
  one and the new Java-based one (not for your production use; note that 'decoders'
@@ -23,12 +23,12 @@ extensions: []
23
23
  extra_rdoc_files: []
24
24
  files:
25
25
  - LICENSE
26
- - classpath/embulk-guess-csv-0.10.34.jar
27
- - classpath/embulk-guess-csv_verify-0.10.34.jar
28
- - classpath/embulk-parser-csv-0.10.34.jar
26
+ - classpath/embulk-guess-csv-0.10.35.jar
27
+ - classpath/embulk-guess-csv_verify-0.10.35.jar
28
+ - classpath/embulk-parser-csv-0.10.35.jar
29
29
  - classpath/embulk-util-config-0.3.1.jar
30
30
  - classpath/embulk-util-file-0.1.3.jar
31
- - classpath/embulk-util-guess-0.1.3.jar
31
+ - classpath/embulk-util-guess-0.1.4.jar
32
32
  - classpath/embulk-util-json-0.1.1.jar
33
33
  - classpath/embulk-util-rubytime-0.3.2.jar
34
34
  - classpath/embulk-util-text-0.1.1.jar