embulk-output-utf8parquet 1.1.7 → 1.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eb0fe78b1c28c36e1b0c47a663e2eb7ccb72077
4
- data.tar.gz: d9b9df4af7058c475caff484687a2abd67aa40f7
3
+ metadata.gz: 11b501e1c2078e0d6d59a7930c8b43b583ac8b18
4
+ data.tar.gz: 17ba538f19bb5e89d3c1e833aa136cf6717bdfaf
5
5
  SHA512:
6
- metadata.gz: 4264f8311d599acb82a4eb3d3c0db8cd536d8a57fb41669140429ca02eb5e0691ae91459ee0874315e10f0ba272f3d0b174e610fc6266a0fe257b80a337f1e3d
7
- data.tar.gz: 9353dfa6ca23f540ab41051fe7b57d6981634765d5e203c686d9e57b6a26bf1be12c9ef1862720e5a7f25c64d68c64f36b6a4163fb50813e0dd66c292fb553f4
6
+ metadata.gz: 2fed39f7e51fd63005e6edcd303da854906e83091b4d52e2faa9dec2c2ecb3b9ca85971d1dd90b1950aa7ef508d6ce43cd7755525f3d77051f16d10afb655053
7
+ data.tar.gz: 15d56483f904d472551cd80862f808857829973ec7137819481d7497a482ea8ead8511247b4e4a578ea793d1cbcf95967784a2735d8f003577014c3ffd313e18
data/build.gradle CHANGED
@@ -16,7 +16,7 @@ configurations {
16
16
  runtime.exclude group: "log4j", module: "log4j"
17
17
  }
18
18
 
19
- version = "1.1.7"
19
+ version = "1.1.9"
20
20
 
21
21
  sourceCompatibility = 1.7
22
22
  targetCompatibility = 1.7
@@ -1,7 +1,7 @@
1
1
 
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "embulk-output-utf8parquet"
4
- spec.version = "1.1.7"
4
+ spec.version = "1.1.9"
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.]
@@ -136,7 +136,7 @@ public class EmbulkWriteSupport
136
136
  public void jsonColumn(Column column)
137
137
  {
138
138
  if (!record.isNull(column)) {
139
- consumer.addBinary(Binary.fromString(record.getString(column)));
139
+ consumer.addBinary(Binary.fromString(record.getJson(column).toString()));
140
140
  }
141
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.");
142
142
  }
@@ -212,6 +212,7 @@ public class EmbulkWriteSupport
212
212
  @Override
213
213
  public void jsonColumn(Column column)
214
214
  {
215
+ System.out.println("Adding json utf8 column="+ column.getName());
215
216
  fields.add(new PrimitiveType(Type.Repetition.OPTIONAL, PrimitiveTypeName.BINARY, column.getName(), OriginalType.UTF8));
216
217
  }
217
218
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-utf8parquet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angelos Alexopoulos
@@ -223,7 +223,7 @@ files:
223
223
  - src/main/java/org/embulk/output/EmbulkWriterBuilder.java
224
224
  - src/main/java/org/embulk/output/ParquetOutputPlugin.java
225
225
  - src/test/java/org/embulk/output/ParquetOutputPluginTest.java
226
- - classpath/embulk-output-utf8parquet-1.1.7.jar
226
+ - classpath/embulk-output-utf8parquet-1.1.9.jar
227
227
  homepage: https://github.com/alexopoulos7/embulk-output-utf8parquet
228
228
  licenses:
229
229
  - MIT