embulk-output-multi 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/build.gradle +5 -3
- data/gradle.properties +1 -1
- data/gradle/dependency-locks/compileClasspath.lockfile +1 -6
- data/gradle/dependency-locks/testCompileClasspath.lockfile +5 -4
- data/src/main/java/org/embulk/output/multi/MultiTransactionalPageOutput.java +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d23fe45b21d16664727849db0d1af9015a180834
|
4
|
+
data.tar.gz: 5b3dbb7047049be9dd3784cafb93855e1288fc36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fe2a6a708a3602be1e8512eba3d2ab3d9e4fd789ce833a0f5872f7c9790adc4112463d0ed5f84e45224bff331ef2594c4cff9596288c91be8144e04ce7ad7a9
|
7
|
+
data.tar.gz: 6b66ca734eb9786edd92632ede8678c2152a22b4ffa668215ea12d3ebc9250364582c0399e30ab130ce7ab2ff8de4dd245b34b8b61e2c10ef30ed34656ece096
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Multi output plugin for Embulk
|
2
2
|
|
3
|
-
This plugin
|
3
|
+
This plugin copies an output to multiple destinations.
|
4
4
|
|
5
5
|
### Notes
|
6
6
|
- It's still very experimental version, so might change its configuration names or styles without notification.
|
7
|
-
-
|
8
|
-
- It might not
|
7
|
+
- As this plugin performs multiple output methods, it might have a performance issue with large records.
|
8
|
+
- It might not work on other executors than LocalExecutor.
|
9
9
|
- I would appreciate it if you use this and give me reports/feedback!
|
10
10
|
|
11
11
|
## Overview
|
@@ -27,13 +27,13 @@ out:
|
|
27
27
|
outputs:
|
28
28
|
# Output to stdout
|
29
29
|
- type: stdout
|
30
|
-
# Output to
|
30
|
+
# Output to files as CSV
|
31
31
|
- type: file
|
32
32
|
path_prefix: out_file_
|
33
33
|
file_ext: csv
|
34
34
|
formatter:
|
35
35
|
type: csv
|
36
|
-
# Output to
|
36
|
+
# Output to files as TSV
|
37
37
|
- type: file
|
38
38
|
path_prefix: out_file_
|
39
39
|
file_ext: tsv
|
data/build.gradle
CHANGED
@@ -17,8 +17,10 @@ configurations {
|
|
17
17
|
}
|
18
18
|
|
19
19
|
dependencies {
|
20
|
-
testImplementation "org.embulk:embulk-
|
21
|
-
testImplementation "org.embulk:embulk-
|
20
|
+
testImplementation "org.embulk:embulk-deps-buffer:0.9.23"
|
21
|
+
testImplementation "org.embulk:embulk-deps-config:0.9.23"
|
22
|
+
testImplementation "org.embulk:embulk-standards:0.9.23"
|
23
|
+
testImplementation "org.embulk:embulk-test:0.9.23"
|
22
24
|
testImplementation "com.github.kamatama41:embulk-test-helpers:0.7.4"
|
23
25
|
testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.2"
|
24
26
|
testImplementation "org.junit.jupiter:junit-jupiter-engine:5.3.2"
|
@@ -29,7 +31,7 @@ test {
|
|
29
31
|
}
|
30
32
|
|
31
33
|
embulk {
|
32
|
-
version = "0.9.
|
34
|
+
version = "0.9.23"
|
33
35
|
category = "output"
|
34
36
|
name = "multi"
|
35
37
|
authors = ["Shinichi ISHIMURA"]
|
data/gradle.properties
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version=0.
|
1
|
+
version=0.5.0
|
@@ -12,19 +12,14 @@ com.fasterxml.jackson.module:jackson-module-guice:2.6.7
|
|
12
12
|
com.google.guava:guava:18.0
|
13
13
|
com.google.inject.extensions:guice-multibindings:4.0
|
14
14
|
com.google.inject:guice:4.0
|
15
|
-
com.ibm.icu:icu4j:54.1.1
|
16
15
|
commons-beanutils:commons-beanutils-core:1.8.3
|
17
|
-
io.airlift:slice:0.9
|
18
|
-
io.netty:netty-buffer:4.0.44.Final
|
19
|
-
io.netty:netty-common:4.0.44.Final
|
20
16
|
javax.inject:javax.inject:1
|
21
17
|
javax.validation:validation-api:1.1.0.Final
|
22
18
|
joda-time:joda-time:2.9.2
|
23
19
|
org.apache.bval:bval-core:0.5
|
24
20
|
org.apache.bval:bval-jsr303:0.5
|
25
21
|
org.apache.commons:commons-lang3:3.4
|
26
|
-
org.embulk:embulk-core:0.9.
|
22
|
+
org.embulk:embulk-core:0.9.23
|
27
23
|
org.jruby:jruby-complete:9.1.15.0
|
28
24
|
org.msgpack:msgpack-core:0.8.11
|
29
25
|
org.slf4j:slf4j-api:1.7.12
|
30
|
-
org.yaml:snakeyaml:1.18
|
@@ -13,7 +13,6 @@ com.github.kamatama41:embulk-test-helpers:0.7.4
|
|
13
13
|
com.google.guava:guava:18.0
|
14
14
|
com.google.inject.extensions:guice-multibindings:4.0
|
15
15
|
com.google.inject:guice:4.0
|
16
|
-
com.ibm.icu:icu4j:54.1.1
|
17
16
|
commons-beanutils:commons-beanutils-core:1.8.3
|
18
17
|
io.airlift:slice:0.9
|
19
18
|
io.netty:netty-buffer:4.0.44.Final
|
@@ -27,9 +26,11 @@ org.apache.bval:bval-jsr303:0.5
|
|
27
26
|
org.apache.commons:commons-compress:1.10
|
28
27
|
org.apache.commons:commons-lang3:3.4
|
29
28
|
org.apiguardian:apiguardian-api:1.0.0
|
30
|
-
org.embulk:embulk-core:0.9.
|
31
|
-
org.embulk:embulk-
|
32
|
-
org.embulk:embulk-
|
29
|
+
org.embulk:embulk-core:0.9.23
|
30
|
+
org.embulk:embulk-deps-buffer:0.9.23
|
31
|
+
org.embulk:embulk-deps-config:0.9.23
|
32
|
+
org.embulk:embulk-standards:0.9.23
|
33
|
+
org.embulk:embulk-test:0.9.23
|
33
34
|
org.hamcrest:hamcrest-core:1.3
|
34
35
|
org.hamcrest:hamcrest-library:1.3
|
35
36
|
org.jruby:jruby-complete:9.1.15.0
|
@@ -87,8 +87,7 @@ public class MultiTransactionalPageOutput implements TransactionalPageOutput {
|
|
87
87
|
|
88
88
|
private static Page copyPage(Page original) {
|
89
89
|
final Buffer originalBuffer = original.buffer();
|
90
|
-
final Buffer copiedBuffer = Buffer.wrap(originalBuffer.array());
|
91
|
-
copiedBuffer.offset(originalBuffer.offset());
|
90
|
+
final Buffer copiedBuffer = Buffer.wrap(originalBuffer.array(), originalBuffer.offset(), originalBuffer.capacity());
|
92
91
|
copiedBuffer.limit(originalBuffer.limit());
|
93
92
|
|
94
93
|
final Page copiedPage = Page.wrap(copiedBuffer);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-multi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shinichi ISHIMURA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ files:
|
|
50
50
|
- LICENSE
|
51
51
|
- README.md
|
52
52
|
- build.gradle
|
53
|
-
- classpath/embulk-output-multi-0.
|
53
|
+
- classpath/embulk-output-multi-0.5.0.jar
|
54
54
|
- gradle.properties
|
55
55
|
- gradle/dependency-locks/compileClasspath.lockfile
|
56
56
|
- gradle/dependency-locks/testCompileClasspath.lockfile
|