embulk-parser-jsonl 0.1.0 → 0.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed57dc612f9af90f47c438130dbe3469e086ed0
|
4
|
+
data.tar.gz: 7c2bd81c5b583eae4ed38a7afbfdd06fa5cb99bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0a751469cdc1bb4ac979e898dd2a83b7cf9110d729fbc6a65bdd37a4215cd06e88eb64f345b2fd0d4e0bb99b7d49822db7b83f0f8a658062507a49b06e7bca4
|
7
|
+
data.tar.gz: 2da25aefb298cb41351f0201055797a56efaf77be11781a8daa2eff08d0c910492cb2bf2448bb63306e137ab74b347e335c860473b696fe5427e7e8b78fba8cc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.1.1 - 2016-03-17
|
2
|
+
|
3
|
+
[fix bug] Avoid org.embulk.spi.json.JsonParseException: Unable to parse empty string [#5](https://github.com/shun0102/embulk-parser-jsonl/pull/5)
|
4
|
+
|
1
5
|
## 0.1.0 - 2016-02-22
|
2
6
|
|
3
7
|
Upgrade Embulk v0.8 and support Json type in Java [#3](https://github.com/shun0102/embulk-parser-jsonl/pull/3)
|
data/build.gradle
CHANGED
data/embulk-parser-jsonl.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-parser-jsonl"
|
4
|
-
spec.version = "0.1.
|
4
|
+
spec.version = "0.1.1"
|
5
5
|
spec.authors = ["Shunsuke Mikami"]
|
6
6
|
spec.summary = "Jsonl parser plugin for Embulk"
|
7
7
|
spec.description = "Parses Jsonl files read by other file input plugins."
|
@@ -18,6 +18,7 @@ import org.embulk.spi.PageOutput;
|
|
18
18
|
import org.embulk.spi.ParserPlugin;
|
19
19
|
import org.embulk.spi.Schema;
|
20
20
|
import org.embulk.spi.SchemaConfig;
|
21
|
+
import org.embulk.spi.json.JsonParseException;
|
21
22
|
import org.embulk.spi.json.JsonParser;
|
22
23
|
import org.embulk.spi.time.TimestampParser;
|
23
24
|
import org.embulk.spi.util.LineDecoder;
|
@@ -228,7 +229,7 @@ public class JsonlParserPlugin
|
|
228
229
|
|
229
230
|
pageBuilder.addRecord();
|
230
231
|
}
|
231
|
-
catch (JsonRecordValidateException e) {
|
232
|
+
catch (JsonRecordValidateException | JsonParseException e) {
|
232
233
|
if (stopOnInvalidRecord) {
|
233
234
|
throw new DataException(String.format("Invalid record at line %d: %s", lineNumber, line), e);
|
234
235
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-parser-jsonl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shunsuke Mikami
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ files:
|
|
62
62
|
- settings.gradle
|
63
63
|
- src/main/java/org/embulk/parser/jsonl/JsonlParserPlugin.java
|
64
64
|
- src/test/java/org/embulk/parser/jsonl/TestJsonlParserPlugin.java
|
65
|
-
- classpath/embulk-parser-jsonl-0.1.
|
65
|
+
- classpath/embulk-parser-jsonl-0.1.1.jar
|
66
66
|
homepage: https://github.com/shun0102/embulk-parser-jsonl
|
67
67
|
licenses:
|
68
68
|
- MIT
|