File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/java/org/embulk/input/kintone Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ repositories {
12
12
}
13
13
14
14
group = " io.trocco"
15
- version = " 0.1.9 "
15
+ version = " 0.1.10 "
16
16
17
17
sourceCompatibility = 1.8
18
18
targetCompatibility = 1.8
Original file line number Diff line number Diff line change @@ -189,7 +189,10 @@ private Schema buildSchema(final PluginTask task)
189
189
builder .add ("$revision" , Types .LONG );
190
190
191
191
for (Map .Entry <String , FieldProperty > fieldEntry : fields .entrySet ()) {
192
- builder .add (fieldEntry .getKey (), buildType (fieldEntry .getValue ().getType ()));
192
+ final Type type = buildType (fieldEntry .getValue ().getType ());
193
+ if (type != null ) {
194
+ builder .add (fieldEntry .getKey (), type );
195
+ }
193
196
}
194
197
195
198
return builder .build ();
@@ -230,8 +233,9 @@ private Type buildType(final FieldType fieldType)
230
233
case STATUS_ASSIGNEE :
231
234
case TIME :
232
235
case USER_SELECT :
233
- default :
234
236
return Types .STRING ;
237
+ default :
238
+ return null ;
235
239
}
236
240
}
237
241
}
You can’t perform that action at this time.
0 commit comments