embulk-filter-row 0.1.2 → 0.1.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/CHANGELOG.md +6 -0
- data/build.gradle +1 -1
- data/classpath/{embulk-filter-row-0.1.2.jar → embulk-filter-row-0.1.3.jar} +0 -0
- data/example.yml +1 -1
- data/src/main/java/org/embulk/filter/RowFilterPlugin.java +1 -1
- data/src/main/java/org/embulk/filter/row/ConditionFactory.java +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97c78b3a34a8afc63f95ee20bcba850b6a15e295
|
|
4
|
+
data.tar.gz: ccea5b2896f011d3255f1478f43c0f0d83351c94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dae3cc4e2f87ae47cc36f512671ccbff90e0c4c85ecb566dfec4c277a3b466edee1d9297682579071b93ae8756e4405b31cc005ca16786c63469fbb8a54d35ea
|
|
7
|
+
data.tar.gz: 1e5678b637626facf00cb96007cf376cbdbde447ed89def1fc6cbe9d52de21102c88ce48049e3a303ca84aac24bfa615d917651413407594310ace34be05c124
|
data/CHANGELOG.md
CHANGED
data/build.gradle
CHANGED
|
Binary file
|
data/example.yml
CHANGED
|
@@ -26,7 +26,7 @@ in:
|
|
|
26
26
|
filters:
|
|
27
27
|
- type: row
|
|
28
28
|
conditions:
|
|
29
|
-
- {column: flag, operator:
|
|
29
|
+
- {column: flag, operator: ==, argument: true}
|
|
30
30
|
- {column: foo, operator: "IS NULL"}
|
|
31
31
|
- {column: id, operator: ==, argument: 97}
|
|
32
32
|
- {column: name, operator: ==, argument: "xxxx", not: true}
|
|
@@ -67,7 +67,7 @@ public class RowFilterPlugin implements FilterPlugin
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@Override
|
|
70
|
-
public PageOutput open(TaskSource taskSource, final Schema inputSchema,
|
|
70
|
+
public PageOutput open(final TaskSource taskSource, final Schema inputSchema,
|
|
71
71
|
final Schema outputSchema, final PageOutput output)
|
|
72
72
|
{
|
|
73
73
|
PluginTask task = taskSource.loadTask(PluginTask.class);
|
|
@@ -44,7 +44,6 @@ public class ConditionFactory
|
|
|
44
44
|
this.columnType = column.getType();
|
|
45
45
|
this.conditionConfig = conditionConfig;
|
|
46
46
|
this.operator = conditionConfig.getOperator().get().toUpperCase(); // default: ==
|
|
47
|
-
System.out.println(conditionConfig.getNot().get().getClass());
|
|
48
47
|
this.not = conditionConfig.getNot().get().booleanValue(); // default: false
|
|
49
48
|
}
|
|
50
49
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-filter-row
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Naotoshi Seo
|
|
@@ -73,7 +73,7 @@ files:
|
|
|
73
73
|
- src/test/java/org/embulk/filter/row/TestLongCondition.java
|
|
74
74
|
- src/test/java/org/embulk/filter/row/TestStringCondition.java
|
|
75
75
|
- src/test/java/org/embulk/filter/row/TestTimestampCondition.java
|
|
76
|
-
- classpath/embulk-filter-row-0.1.
|
|
76
|
+
- classpath/embulk-filter-row-0.1.3.jar
|
|
77
77
|
homepage: https://github.com/sonots/embulk-filter-row
|
|
78
78
|
licenses:
|
|
79
79
|
- MIT
|