embulk-output-utf8parquet 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/build.gradle +19 -5
- data/build/classes/main/org/embulk/output/EmbulkWriteSupport$ParquetColumnVisitor.class +0 -0
- data/build/classes/main/org/embulk/output/EmbulkWriteSupport$SchemaConvertColumnVisitor.class +0 -0
- data/build/classes/main/org/embulk/output/EmbulkWriteSupport$SchemaConvertColumnVisitorWithUTF8.class +0 -0
- data/build/gemspec +1 -1
- data/build/reports/tests/test/classes/org.embulk.output.ParquetOutputPluginTest.html +5 -5
- data/build/reports/tests/test/index.html +4 -4
- data/build/reports/tests/test/packages/org.embulk.output.html +3 -3
- data/build/test-results/test/TEST-org.embulk.output.ParquetOutputPluginTest.xml +4 -4
- data/build/test-results/test/binary/results.bin +0 -0
- data/classpath/{embulk-output-utf8parquet-1.0.1.jar → embulk-output-utf8parquet-1.0.3.jar} +0 -0
- data/classpath/joda-time-2.10.4.jar +0 -0
- data/src/main/java/org/embulk/output/EmbulkWriteSupport.java +6 -2
- metadata +4 -5
- data/classpath/embulk-output-utf8parquet-1.0.2.jar +0 -0
- data/classpath/joda-time-2.9.9.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e38df61f967b61c5f59044671033b002eeeb71e
|
4
|
+
data.tar.gz: 23e46929eb6ac40655af650a34768fb8fde9d9e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c900f6b2711af1a11f66acfbe8aed08faef76ac95c5ea5ca73ea2d64622fa277ceaecec9b1c2f98ea4fdff9b486156ac9a1bc4833a2c6d0fc8b6002dd2b8745b
|
7
|
+
data.tar.gz: 04612fb39ff0a5ddb7081e0acb4427320b04edea1df1a7f59aec4ad0c31c423363baf306bc5b3430d1f6256f9384812536cc59868770797f9d2e0ba694b1759f
|
data/build.gradle
CHANGED
@@ -14,10 +14,9 @@ configurations {
|
|
14
14
|
runtime.exclude group: "org.slf4j", module: "slf4j-log4j12"
|
15
15
|
}
|
16
16
|
|
17
|
-
version = "1.0.
|
17
|
+
version = "1.0.3"
|
18
18
|
|
19
19
|
sourceCompatibility = 1.7
|
20
|
-
|
21
20
|
targetCompatibility = 1.7
|
22
21
|
|
23
22
|
dependencies {
|
@@ -57,9 +56,9 @@ task checkstyle(type: Checkstyle) {
|
|
57
56
|
classpath = sourceSets.main.output + sourceSets.test.output
|
58
57
|
source = sourceSets.main.allJava + sourceSets.test.allJava
|
59
58
|
}
|
60
|
-
task gem(type: JRubyExec, dependsOn: ["
|
59
|
+
task gem(type: JRubyExec, dependsOn: ["gemspec", "classpath"]) {
|
61
60
|
jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "build"
|
62
|
-
script "
|
61
|
+
script "${project.name}.gemspec"
|
63
62
|
doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
|
64
63
|
}
|
65
64
|
|
@@ -68,7 +67,19 @@ task gemPush(type: JRubyExec, dependsOn: ["gem"]) {
|
|
68
67
|
script "pkg/${project.name}-${project.version}.gem"
|
69
68
|
}
|
70
69
|
|
71
|
-
task
|
70
|
+
task "package"(dependsOn: ["gemspec", "classpath"]) {
|
71
|
+
doLast {
|
72
|
+
println "> Build succeeded."
|
73
|
+
println "> You can run embulk with '-L ${file(".").absolutePath}' argument."
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
task gemspec {
|
78
|
+
ext.gemspecFile = file("${project.name}.gemspec")
|
79
|
+
inputs.file "build.gradle"
|
80
|
+
outputs.file gemspecFile
|
81
|
+
doLast {
|
82
|
+
gemspecFile.write($/
|
72
83
|
Gem::Specification.new do |spec|
|
73
84
|
spec.name = "${project.name}"
|
74
85
|
spec.version = "${project.version}"
|
@@ -88,4 +99,7 @@ Gem::Specification.new do |spec|
|
|
88
99
|
spec.add_development_dependency 'rake', ['>= 10.0']
|
89
100
|
end
|
90
101
|
/$)
|
102
|
+
}
|
91
103
|
}
|
104
|
+
|
105
|
+
clean { delete "${project.name}.gemspec" }
|
Binary file
|
data/build/classes/main/org/embulk/output/EmbulkWriteSupport$SchemaConvertColumnVisitor.class
CHANGED
Binary file
|
Binary file
|
data/build/gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-output-utf8parquet"
|
4
|
-
spec.version = "1.0.
|
4
|
+
spec.version = "1.0.3"
|
5
5
|
spec.authors = ["Angelos Alexopoulos"]
|
6
6
|
spec.summary = %[Parquet output plugin for Embulk with UTF8 support]
|
7
7
|
spec.description = %[Parquet output plugin is an Embulk plugin that loads records to Parquet read by any input plugins. Search the input plugins by "embulk-input" keyword.]
|
@@ -41,7 +41,7 @@
|
|
41
41
|
</td>
|
42
42
|
<td>
|
43
43
|
<div class="infoBox" id="duration">
|
44
|
-
<div class="counter">
|
44
|
+
<div class="counter">15.272s</div>
|
45
45
|
<p>duration</p>
|
46
46
|
</div>
|
47
47
|
</td>
|
@@ -76,17 +76,17 @@
|
|
76
76
|
</thead>
|
77
77
|
<tr>
|
78
78
|
<td class="success">checkColumnsRequired</td>
|
79
|
-
<td>
|
79
|
+
<td>12.145s</td>
|
80
80
|
<td class="success">passed</td>
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="success">checkDefaultValues</td>
|
84
|
-
<td>
|
84
|
+
<td>1.190s</td>
|
85
85
|
<td class="success">passed</td>
|
86
86
|
</tr>
|
87
87
|
<tr>
|
88
88
|
<td class="success">checkExtraConfigurations</td>
|
89
|
-
<td>
|
89
|
+
<td>1.937s</td>
|
90
90
|
<td class="success">passed</td>
|
91
91
|
</tr>
|
92
92
|
</table>
|
@@ -99,7 +99,7 @@
|
|
99
99
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
100
100
|
</label>
|
101
101
|
</div>Generated by
|
102
|
-
<a href="http://www.gradle.org">Gradle 3.2.1</a> at
|
102
|
+
<a href="http://www.gradle.org">Gradle 3.2.1</a> at Oct 7, 2019 8:42:33 AM</p>
|
103
103
|
</div>
|
104
104
|
</div>
|
105
105
|
</body>
|
@@ -38,7 +38,7 @@
|
|
38
38
|
</td>
|
39
39
|
<td>
|
40
40
|
<div class="infoBox" id="duration">
|
41
|
-
<div class="counter">
|
41
|
+
<div class="counter">15.272s</div>
|
42
42
|
<p>duration</p>
|
43
43
|
</div>
|
44
44
|
</td>
|
@@ -85,7 +85,7 @@
|
|
85
85
|
<td>3</td>
|
86
86
|
<td>0</td>
|
87
87
|
<td>0</td>
|
88
|
-
<td>
|
88
|
+
<td>15.272s</td>
|
89
89
|
<td class="success">100%</td>
|
90
90
|
</tr>
|
91
91
|
</tbody>
|
@@ -111,7 +111,7 @@
|
|
111
111
|
<td>3</td>
|
112
112
|
<td>0</td>
|
113
113
|
<td>0</td>
|
114
|
-
<td>
|
114
|
+
<td>15.272s</td>
|
115
115
|
<td class="success">100%</td>
|
116
116
|
</tr>
|
117
117
|
</tbody>
|
@@ -125,7 +125,7 @@
|
|
125
125
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
126
126
|
</label>
|
127
127
|
</div>Generated by
|
128
|
-
<a href="http://www.gradle.org">Gradle 3.2.1</a> at
|
128
|
+
<a href="http://www.gradle.org">Gradle 3.2.1</a> at Oct 7, 2019 8:42:33 AM</p>
|
129
129
|
</div>
|
130
130
|
</div>
|
131
131
|
</body>
|
@@ -40,7 +40,7 @@
|
|
40
40
|
</td>
|
41
41
|
<td>
|
42
42
|
<div class="infoBox" id="duration">
|
43
|
-
<div class="counter">
|
43
|
+
<div class="counter">15.272s</div>
|
44
44
|
<p>duration</p>
|
45
45
|
</div>
|
46
46
|
</td>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
<td>3</td>
|
84
84
|
<td>0</td>
|
85
85
|
<td>0</td>
|
86
|
-
<td>
|
86
|
+
<td>15.272s</td>
|
87
87
|
<td class="success">100%</td>
|
88
88
|
</tr>
|
89
89
|
</table>
|
@@ -96,7 +96,7 @@
|
|
96
96
|
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
|
97
97
|
</label>
|
98
98
|
</div>Generated by
|
99
|
-
<a href="http://www.gradle.org">Gradle 3.2.1</a> at
|
99
|
+
<a href="http://www.gradle.org">Gradle 3.2.1</a> at Oct 7, 2019 8:42:33 AM</p>
|
100
100
|
</div>
|
101
101
|
</div>
|
102
102
|
</body>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<testsuite name="org.embulk.output.ParquetOutputPluginTest" tests="3" skipped="0" failures="0" errors="0" timestamp="
|
2
|
+
<testsuite name="org.embulk.output.ParquetOutputPluginTest" tests="3" skipped="0" failures="0" errors="0" timestamp="2019-10-07T05:42:18" hostname="Angeloss-MBP" time="15.272">
|
3
3
|
<properties/>
|
4
|
-
<testcase name="checkColumnsRequired" classname="org.embulk.output.ParquetOutputPluginTest" time="
|
5
|
-
<testcase name="checkExtraConfigurations" classname="org.embulk.output.ParquetOutputPluginTest" time="
|
6
|
-
<testcase name="checkDefaultValues" classname="org.embulk.output.ParquetOutputPluginTest" time="
|
4
|
+
<testcase name="checkColumnsRequired" classname="org.embulk.output.ParquetOutputPluginTest" time="12.145"/>
|
5
|
+
<testcase name="checkExtraConfigurations" classname="org.embulk.output.ParquetOutputPluginTest" time="1.937"/>
|
6
|
+
<testcase name="checkDefaultValues" classname="org.embulk.output.ParquetOutputPluginTest" time="1.19"/>
|
7
7
|
<system-out><![CDATA[]]></system-out>
|
8
8
|
<system-err><![CDATA[]]></system-err>
|
9
9
|
</testsuite>
|
Binary file
|
Binary file
|
Binary file
|
@@ -135,7 +135,10 @@ public class EmbulkWriteSupport
|
|
135
135
|
@Override
|
136
136
|
public void jsonColumn(Column column)
|
137
137
|
{
|
138
|
-
|
138
|
+
if (!record.isNull(column)) {
|
139
|
+
consumer.addBinary(Binary.fromString(record.getString(column)));
|
140
|
+
}
|
141
|
+
// throw new UnsupportedOperationException("This plugin doesn't support json type. Please try to upgrade version of the plugin using 'embulk gem update' command. If the latest version still doesn't support json type, please contact plugin developers, or change configuration of input plugin not to use json type.");
|
139
142
|
}
|
140
143
|
|
141
144
|
@Override
|
@@ -181,7 +184,8 @@ public class EmbulkWriteSupport
|
|
181
184
|
@Override
|
182
185
|
public void jsonColumn(Column column)
|
183
186
|
{
|
184
|
-
|
187
|
+
fields.add(new PrimitiveType(Type.Repetition.OPTIONAL, PrimitiveTypeName.BINARY, column.getName()));
|
188
|
+
// throw new UnsupportedOperationException("This plugin doesn't support json type. Please try to upgrade version of the plugin using 'embulk gem update' command. If the latest version still doesn't support json type, please contact plugin developers, or change configuration of input plugin not to use json type.");
|
185
189
|
}
|
186
190
|
|
187
191
|
@Override
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-utf8parquet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angelos Alexopoulos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +104,7 @@ files:
|
|
104
104
|
- classpath/curator-client-2.7.1.jar
|
105
105
|
- classpath/curator-framework-2.7.1.jar
|
106
106
|
- classpath/curator-recipes-2.7.1.jar
|
107
|
-
- classpath/embulk-output-utf8parquet-1.0.
|
107
|
+
- classpath/embulk-output-utf8parquet-1.0.3.jar
|
108
108
|
- classpath/gson-2.2.4.jar
|
109
109
|
- classpath/hadoop-annotations-2.7.1.jar
|
110
110
|
- classpath/hadoop-auth-2.7.1.jar
|
@@ -142,7 +142,7 @@ files:
|
|
142
142
|
- classpath/jetty-6.1.26.jar
|
143
143
|
- classpath/jetty-util-6.1.26.jar
|
144
144
|
- classpath/jline-0.9.94.jar
|
145
|
-
- classpath/joda-time-2.
|
145
|
+
- classpath/joda-time-2.10.4.jar
|
146
146
|
- classpath/jsch-0.1.42.jar
|
147
147
|
- classpath/jsp-api-2.1.jar
|
148
148
|
- classpath/jsr305-3.0.0.jar
|
@@ -178,7 +178,6 @@ files:
|
|
178
178
|
- src/main/java/org/embulk/output/EmbulkWriterBuilder.java
|
179
179
|
- src/main/java/org/embulk/output/ParquetOutputPlugin.java
|
180
180
|
- src/test/java/org/embulk/output/ParquetOutputPluginTest.java
|
181
|
-
- classpath/embulk-output-utf8parquet-1.0.2.jar
|
182
181
|
homepage: https://github.com/alexopoulos7/embulk-output-utf8parquet
|
183
182
|
licenses:
|
184
183
|
- MIT
|
Binary file
|
Binary file
|