embulk-output-utf8parquet 1.0.4 → 1.0.5
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/.gradle/3.2.1/taskArtifacts/fileHashes.bin +0 -0
- data/.gradle/3.2.1/taskArtifacts/fileSnapshots.bin +0 -0
- data/.gradle/3.2.1/taskArtifacts/taskArtifacts.bin +0 -0
- data/.gradle/3.2.1/taskArtifacts/taskArtifacts.lock +0 -0
- data/README.md +2 -2
- data/build.gradle +1 -1
- 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/libs/embulk-output-utf8parquet-1.0.3.jar +0 -0
- data/build/libs/{embulk-output-utf8parquet-1.0.4.jar → embulk-output-utf8parquet-1.0.5.jar} +0 -0
- data/classpath/{embulk-output-utf8parquet-1.0.4.jar → embulk-output-utf8parquet-1.0.5.jar} +0 -0
- data/embulk-output-utf8parquet.gemspec +1 -1
- data/pkg/embulk-output-utf8parquet-1.0.1.gem +0 -0
- data/pkg/embulk-output-utf8parquet-1.0.2.gem +0 -0
- data/pkg/embulk-output-utf8parquet-1.0.3.gem +0 -0
- data/src/main/java/org/embulk/output/EmbulkWriteSupport.java +7 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e2d77bc3140486c73e3638fa72efa6ef6f8742
|
4
|
+
data.tar.gz: 26d0d3b1b159c1fa0450709a22d24b79b37a950a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13716b9056879b513dd419b5dd30153cf5f5bdc7eeb281f28e9f07703af39206b1d930088b9fdf103bf2993970404643978a13454a9cf7dbfa99ca39329523de
|
7
|
+
data.tar.gz: c7400f98826894df7ac42b716f8302e2c764891479d3c82f0916190bbdca678e9c7327fa530aea08177532bbcb538c3e5530ad01a0f33e996b50043ac2b2d3ab
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# UTF8Parquet output plugin for Embulk
|
2
2
|
** This is actually a clone of https://github.com/choplin/embulk-output-parquet/
|
3
3
|
|
4
|
-
We have added support for UTF-8 instead of binary fields
|
5
|
-
|
4
|
+
* We have added support for UTF-8 instead of binary fields.
|
5
|
+
* It converts json objects to string parquet format.
|
6
6
|
|
7
7
|
## Overview
|
8
8
|
|
data/build.gradle
CHANGED
Binary file
|
data/build/classes/main/org/embulk/output/EmbulkWriteSupport$SchemaConvertColumnVisitor.class
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -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.5"
|
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.]
|
Binary file
|
Binary file
|
Binary file
|
@@ -137,6 +137,7 @@ public class EmbulkWriteSupport
|
|
137
137
|
{
|
138
138
|
if (!record.isNull(column)) {
|
139
139
|
consumer.addBinary(Binary.fromString(record.getJson(column).toString()));
|
140
|
+
|
140
141
|
}
|
141
142
|
// 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.");
|
142
143
|
}
|
@@ -215,5 +216,11 @@ public class EmbulkWriteSupport
|
|
215
216
|
// formatted as string
|
216
217
|
fields.add(new PrimitiveType(Type.Repetition.OPTIONAL, PrimitiveTypeName.BINARY, column.getName(), OriginalType.UTF8));
|
217
218
|
}
|
219
|
+
|
220
|
+
@Override
|
221
|
+
public void jsonColumn(Column column)
|
222
|
+
{
|
223
|
+
fields.add(new PrimitiveType(Type.Repetition.OPTIONAL, PrimitiveTypeName.BINARY, column.getName(), OriginalType.UTF8));
|
224
|
+
}
|
218
225
|
}
|
219
226
|
}
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angelos Alexopoulos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,7 +72,7 @@ files:
|
|
72
72
|
- build/libs/embulk-output-utf8parquet-1.0.1.jar
|
73
73
|
- build/libs/embulk-output-utf8parquet-1.0.2.jar
|
74
74
|
- build/libs/embulk-output-utf8parquet-1.0.3.jar
|
75
|
-
- build/libs/embulk-output-utf8parquet-1.0.
|
75
|
+
- build/libs/embulk-output-utf8parquet-1.0.5.jar
|
76
76
|
- build/reports/checkstyle/main.html
|
77
77
|
- build/reports/checkstyle/main.xml
|
78
78
|
- build/reports/checkstyle/test.html
|
@@ -112,7 +112,7 @@ files:
|
|
112
112
|
- classpath/curator-client-2.7.1.jar
|
113
113
|
- classpath/curator-framework-2.7.1.jar
|
114
114
|
- classpath/curator-recipes-2.7.1.jar
|
115
|
-
- classpath/embulk-output-utf8parquet-1.0.
|
115
|
+
- classpath/embulk-output-utf8parquet-1.0.5.jar
|
116
116
|
- classpath/gson-2.2.4.jar
|
117
117
|
- classpath/hadoop-annotations-2.7.1.jar
|
118
118
|
- classpath/hadoop-auth-2.7.1.jar
|
@@ -183,6 +183,9 @@ files:
|
|
183
183
|
- gradlew
|
184
184
|
- gradlew.bat
|
185
185
|
- lib/embulk/output/utf8parquet.rb
|
186
|
+
- pkg/embulk-output-utf8parquet-1.0.1.gem
|
187
|
+
- pkg/embulk-output-utf8parquet-1.0.2.gem
|
188
|
+
- pkg/embulk-output-utf8parquet-1.0.3.gem
|
186
189
|
- src/main/java/org/embulk/output/EmbulkWriteSupport.java
|
187
190
|
- src/main/java/org/embulk/output/EmbulkWriterBuilder.java
|
188
191
|
- src/main/java/org/embulk/output/ParquetOutputPlugin.java
|