embulk-filter-row 0.1.2 → 0.1.3

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: 7b023f1b8f18e5e5e62f7d468144b2ebf93127b7
4
- data.tar.gz: b90fa6ff510413308a0546cc9346bf19930f34b2
3
+ metadata.gz: 97c78b3a34a8afc63f95ee20bcba850b6a15e295
4
+ data.tar.gz: ccea5b2896f011d3255f1478f43c0f0d83351c94
5
5
  SHA512:
6
- metadata.gz: 13d3939ee6d81004330ae10a71d9ee2e48e7c0b8f5a49e2a1fba7145bad1249d3b5e8cb078977f6051c19497a8d8013edb1688ab5ca5c16e957d139045259e6b
7
- data.tar.gz: d5aae69cd4a8c87eb66fb3eb4b24d451e7b5d842592b21fc6d19dc285cf3aee4a92dd547c6f844052e89e5c5253bc55e323f73c91941205c49df2089803e2bb2
6
+ metadata.gz: dae3cc4e2f87ae47cc36f512671ccbff90e0c4c85ecb566dfec4c277a3b466edee1d9297682579071b93ae8756e4405b31cc005ca16786c63469fbb8a54d35ea
7
+ data.tar.gz: 1e5678b637626facf00cb96007cf376cbdbde447ed89def1fc6cbe9d52de21102c88ce48049e3a303ca84aac24bfa615d917651413407594310ace34be05c124
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.1.3
2
+
3
+ Fixes:
4
+
5
+ * Remove debug print
6
+
1
7
  # 0.1.2
2
8
 
3
9
  Enhancements:
data/build.gradle CHANGED
@@ -12,7 +12,7 @@ configurations {
12
12
  provided
13
13
  }
14
14
 
15
- version = "0.1.2"
15
+ version = "0.1.3"
16
16
  sourceCompatibility = 1.7
17
17
  targetCompatibility = 1.7
18
18
 
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.2
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.2.jar
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