embulk-output-kintone 0.4.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -6
- data/classpath/embulk-output-kintone-1.0.0.jar +0 -0
- data/classpath/{shadow-kintone-java-client-0.4.1-all.jar → shadow-kintone-java-client-1.0.0-all.jar} +0 -0
- data/src/main/java/org/embulk/output/kintone/KintoneColumnOption.java +1 -2
- data/src/main/java/org/embulk/output/kintone/KintoneColumnType.java +368 -0
- data/src/main/java/org/embulk/output/kintone/KintoneColumnVisitor.java +195 -135
- data/src/main/java/org/embulk/output/kintone/KintoneMode.java +0 -1
- data/src/main/java/org/embulk/output/kintone/KintoneOutputPlugin.java +0 -2
- data/src/main/java/org/embulk/output/kintone/KintonePageOutput.java +169 -157
- data/src/main/java/org/embulk/output/kintone/PluginTask.java +8 -0
- data/src/test/java/org/embulk/output/kintone/KintoneColumnOptionBuilder.java +2 -3
- data/src/test/java/org/embulk/output/kintone/KintoneColumnVisitorTest.java +563 -40
- data/src/test/java/org/embulk/output/kintone/KintoneColumnVisitorVerifier.java +35 -14
- data/src/test/java/org/embulk/output/kintone/KintonePageOutputVerifier.java +2 -7
- data/src/test/java/org/embulk/output/kintone/TestKintoneOutputPlugin.java +22 -9
- data/src/test/java/org/embulk/output/kintone/TestTaskMode.java +12 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/config.yml +104 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/input.csv +7 -7
- data/src/test/resources/org/embulk/output/kintone/task/mode/insert_add_ignore_nulls_records.jsonl +6 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/insert_add_prefer_nulls_records.jsonl +6 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/insert_add_records.jsonl +6 -6
- data/src/test/resources/org/embulk/output/kintone/task/mode/update_update_ignore_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/update_update_prefer_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/update_update_records.jsonl +6 -3
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_add_ignore_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_add_prefer_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_add_records.jsonl +2 -2
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_update_ignore_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_update_prefer_nulls_records.jsonl +3 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/upsert_update_records.jsonl +4 -4
- data/src/test/resources/org/embulk/output/kintone/task/mode/values_ignore_nulls.json +1 -0
- data/src/test/resources/org/embulk/output/kintone/task/mode/values_prefer_nulls.json +1 -0
- metadata +15 -4
- data/classpath/embulk-output-kintone-0.4.1.jar +0 -0
@@ -5,6 +5,7 @@ import com.kintone.client.model.record.Record;
|
|
5
5
|
import com.kintone.client.model.record.UpdateKey;
|
6
6
|
import java.util.Map;
|
7
7
|
import java.util.function.BiConsumer;
|
8
|
+
import javax.validation.UnexpectedTypeException;
|
8
9
|
import org.embulk.spi.Column;
|
9
10
|
import org.embulk.spi.Page;
|
10
11
|
import org.embulk.spi.PageReader;
|
@@ -12,24 +13,39 @@ import org.embulk.spi.Schema;
|
|
12
13
|
|
13
14
|
public class KintoneColumnVisitorVerifier {
|
14
15
|
private final Schema schema;
|
15
|
-
private final Map<String, KintoneColumnOption>
|
16
|
-
private final PageReader
|
16
|
+
private final Map<String, KintoneColumnOption> options;
|
17
|
+
private final PageReader reader;
|
17
18
|
private final KintoneColumnVisitor visitor;
|
18
19
|
|
20
|
+
public KintoneColumnVisitorVerifier(
|
21
|
+
Schema schema, Map<String, KintoneColumnOption> options, String updateKeyName, Page page) {
|
22
|
+
this(schema, options, false, false, updateKeyName, page);
|
23
|
+
}
|
24
|
+
|
19
25
|
public KintoneColumnVisitorVerifier(
|
20
26
|
Schema schema,
|
21
|
-
Map<String, KintoneColumnOption>
|
27
|
+
Map<String, KintoneColumnOption> options,
|
28
|
+
boolean preferNulls,
|
29
|
+
boolean ignoreNulls,
|
22
30
|
String updateKeyName,
|
23
31
|
Page page) {
|
24
32
|
this.schema = schema;
|
25
|
-
this.
|
26
|
-
|
27
|
-
|
28
|
-
visitor = new KintoneColumnVisitor(
|
33
|
+
this.options = options;
|
34
|
+
reader = new PageReader(schema);
|
35
|
+
reader.setPage(page);
|
36
|
+
visitor = new KintoneColumnVisitor(reader, options, preferNulls, ignoreNulls, updateKeyName);
|
37
|
+
}
|
38
|
+
|
39
|
+
public void verify() {
|
40
|
+
verify((record, updateKey) -> {});
|
29
41
|
}
|
30
42
|
|
31
43
|
public void verify(BiConsumer<Record, UpdateKey> consumer) {
|
32
|
-
|
44
|
+
verify(consumer, false);
|
45
|
+
}
|
46
|
+
|
47
|
+
public void verify(BiConsumer<Record, UpdateKey> consumer, boolean nullable) {
|
48
|
+
if (!reader.nextRecord()) {
|
33
49
|
throw new IllegalStateException();
|
34
50
|
}
|
35
51
|
Record record = new Record();
|
@@ -37,16 +53,21 @@ public class KintoneColumnVisitorVerifier {
|
|
37
53
|
UpdateKey updateKey = new UpdateKey();
|
38
54
|
visitor.setUpdateKey(updateKey);
|
39
55
|
schema.visitColumns(visitor);
|
40
|
-
schema.getColumns().forEach(column -> verify(record, column));
|
56
|
+
schema.getColumns().forEach(column -> verify(record, column, nullable));
|
41
57
|
consumer.accept(record, updateKey);
|
42
58
|
}
|
43
59
|
|
44
|
-
private void verify(Record record, Column column) {
|
45
|
-
FieldType expected = FieldType.valueOf(
|
60
|
+
private void verify(Record record, Column column, boolean nullable) {
|
61
|
+
FieldType expected = FieldType.valueOf(options.get(column.getName()).getType());
|
46
62
|
FieldType actual = record.getFieldType(column.getName());
|
47
|
-
if (
|
48
|
-
|
49
|
-
|
63
|
+
if (actual == null && nullable) {
|
64
|
+
return;
|
65
|
+
}
|
66
|
+
if (expected != actual) {
|
67
|
+
throw new UnexpectedTypeException(
|
68
|
+
String.format(
|
69
|
+
"%s: Expected type is %s, but actual type is %s%n",
|
70
|
+
column.getName(), expected, actual));
|
50
71
|
}
|
51
72
|
}
|
52
73
|
}
|
@@ -19,8 +19,6 @@ import com.kintone.client.api.record.GetRecordsByCursorResponseBody;
|
|
19
19
|
import com.kintone.client.model.app.field.FieldProperty;
|
20
20
|
import com.kintone.client.model.app.field.NumberFieldProperty;
|
21
21
|
import com.kintone.client.model.app.field.SingleLineTextFieldProperty;
|
22
|
-
import com.kintone.client.model.record.DateTimeFieldValue;
|
23
|
-
import com.kintone.client.model.record.FieldType;
|
24
22
|
import com.kintone.client.model.record.FieldValue;
|
25
23
|
import com.kintone.client.model.record.NumberFieldValue;
|
26
24
|
import com.kintone.client.model.record.Record;
|
@@ -28,7 +26,6 @@ import com.kintone.client.model.record.RecordForUpdate;
|
|
28
26
|
import com.kintone.client.model.record.SingleLineTextFieldValue;
|
29
27
|
import com.kintone.client.model.record.UpdateKey;
|
30
28
|
import java.math.BigDecimal;
|
31
|
-
import java.time.ZoneId;
|
32
29
|
import java.util.Collection;
|
33
30
|
import java.util.Collections;
|
34
31
|
import java.util.List;
|
@@ -191,9 +188,7 @@ public class KintonePageOutputVerifier implements TransactionalPageOutput {
|
|
191
188
|
String domain, int index, String fieldCode, FieldValue actual, FieldValue expected) {
|
192
189
|
String reason = String.format("%s:%d:%s", domain, index, fieldCode);
|
193
190
|
assertThat(reason, actual.getType(), is(expected.getType()));
|
194
|
-
|
195
|
-
assertThat(reason, actual, is(expected.getType().equals(FieldType.DATETIME) ? new DateTimeFieldValue(((DateTimeFieldValue) expected).getValue().withZoneSameInstant(ZoneId.of("UTC"))) : expected));
|
196
|
-
// spotless:on
|
191
|
+
assertThat(reason, actual, is(expected));
|
197
192
|
}
|
198
193
|
|
199
194
|
private static void assertRecordForUpdates(
|
@@ -217,7 +212,7 @@ public class KintonePageOutputVerifier implements TransactionalPageOutput {
|
|
217
212
|
String domain, int index, UpdateKey actual, UpdateKey expected) {
|
218
213
|
String reason = String.format("%s:%d", domain, index);
|
219
214
|
assertThat(reason, actual.getField(), is(expected.getField()));
|
220
|
-
assertThat(reason, actual.getValue(), is(expected.getValue()
|
215
|
+
assertThat(reason, actual.getValue(), is(expected.getValue()));
|
221
216
|
}
|
222
217
|
|
223
218
|
public interface Runnable {
|
@@ -41,13 +41,15 @@ public class TestKintoneOutputPlugin extends KintoneOutputPlugin {
|
|
41
41
|
String test = taskSource.get(String.class, "Domain");
|
42
42
|
String mode = taskSource.get(String.class, "Mode");
|
43
43
|
String field = taskSource.get(String.class, "UpdateKeyName");
|
44
|
+
boolean preferNulls = taskSource.get(boolean.class, "PreferNulls");
|
45
|
+
boolean ignoreNulls = taskSource.get(boolean.class, "IgnoreNulls");
|
44
46
|
return new KintonePageOutputVerifier(
|
45
47
|
super.open(taskSource, schema, taskIndex),
|
46
48
|
test,
|
47
49
|
field,
|
48
|
-
getValues(test),
|
49
|
-
getAddRecords(test, mode),
|
50
|
-
getUpdateRecords(test, mode, field));
|
50
|
+
getValues(test, preferNulls, ignoreNulls),
|
51
|
+
getAddRecords(test, mode, preferNulls, ignoreNulls),
|
52
|
+
getUpdateRecords(test, mode, preferNulls, ignoreNulls, field));
|
51
53
|
}
|
52
54
|
|
53
55
|
protected void runOutput(String configName, String inputName) throws Exception {
|
@@ -89,8 +91,11 @@ public class TestKintoneOutputPlugin extends KintoneOutputPlugin {
|
|
89
91
|
return embulk.configLoader().fromYamlString(string);
|
90
92
|
}
|
91
93
|
|
92
|
-
private static List<String> getValues(String test) {
|
93
|
-
String name =
|
94
|
+
private static List<String> getValues(String test, boolean preferNulls, boolean ignoreNulls) {
|
95
|
+
String name =
|
96
|
+
String.format(
|
97
|
+
"%s/values%s.json",
|
98
|
+
test, ignoreNulls ? "_ignore_nulls" : preferNulls ? "_prefer_nulls" : "");
|
94
99
|
String json = existsResource(name) ? readResource(name) : null;
|
95
100
|
return json == null || json.isEmpty()
|
96
101
|
? Collections.emptyList()
|
@@ -99,8 +104,12 @@ public class TestKintoneOutputPlugin extends KintoneOutputPlugin {
|
|
99
104
|
.collect(Collectors.toList());
|
100
105
|
}
|
101
106
|
|
102
|
-
private static List<Record> getAddRecords(
|
103
|
-
|
107
|
+
private static List<Record> getAddRecords(
|
108
|
+
String test, String mode, boolean preferNulls, boolean ignoreNulls) {
|
109
|
+
String name =
|
110
|
+
String.format(
|
111
|
+
"%s/%s_add%s_records.jsonl",
|
112
|
+
test, mode, ignoreNulls ? "_ignore_nulls" : preferNulls ? "_prefer_nulls" : "");
|
104
113
|
String jsonl = existsResource(name) ? readResource(name) : null;
|
105
114
|
return jsonl == null || jsonl.isEmpty()
|
106
115
|
? Collections.emptyList()
|
@@ -109,9 +118,13 @@ public class TestKintoneOutputPlugin extends KintoneOutputPlugin {
|
|
109
118
|
.collect(Collectors.toList());
|
110
119
|
}
|
111
120
|
|
112
|
-
private static List<RecordForUpdate> getUpdateRecords(
|
121
|
+
private static List<RecordForUpdate> getUpdateRecords(
|
122
|
+
String test, String mode, boolean preferNulls, boolean ignoreNulls, String field) {
|
113
123
|
Function<Record, UpdateKey> key = getKey(field);
|
114
|
-
String name =
|
124
|
+
String name =
|
125
|
+
String.format(
|
126
|
+
"%s/%s_update%s_records.jsonl",
|
127
|
+
test, mode, ignoreNulls ? "_ignore_nulls" : preferNulls ? "_prefer_nulls" : "");
|
115
128
|
String jsonl = existsResource(name) ? readResource(name) : null;
|
116
129
|
return jsonl == null || jsonl.isEmpty()
|
117
130
|
? Collections.emptyList()
|
@@ -15,17 +15,29 @@ public class TestTaskMode extends TestTask {
|
|
15
15
|
public void testInsert() throws Exception {
|
16
16
|
merge(config("mode: insert"));
|
17
17
|
runOutput();
|
18
|
+
merge(config("prefer_nulls: true"));
|
19
|
+
runOutput();
|
20
|
+
merge(config("ignore_nulls: true"));
|
21
|
+
runOutput();
|
18
22
|
}
|
19
23
|
|
20
24
|
@Test
|
21
25
|
public void testUpdate() throws Exception {
|
22
26
|
merge(config("mode: update", "update_key: string_number"));
|
23
27
|
runOutput();
|
28
|
+
merge(config("prefer_nulls: true"));
|
29
|
+
runOutput();
|
30
|
+
merge(config("ignore_nulls: true"));
|
31
|
+
runOutput();
|
24
32
|
}
|
25
33
|
|
26
34
|
@Test
|
27
35
|
public void testUpsert() throws Exception {
|
28
36
|
merge(config("mode: upsert", "update_key: double_single_line_text"));
|
29
37
|
runOutput();
|
38
|
+
merge(config("prefer_nulls: true"));
|
39
|
+
runOutput();
|
40
|
+
merge(config("ignore_nulls: true"));
|
41
|
+
runOutput();
|
30
42
|
}
|
31
43
|
}
|
@@ -2,36 +2,129 @@ column_options:
|
|
2
2
|
boolean_single_line_text:
|
3
3
|
field_code: boolean_single_line_text
|
4
4
|
type: SINGLE_LINE_TEXT
|
5
|
+
boolean:
|
6
|
+
field_code: boolean
|
7
|
+
type: NUMBER
|
5
8
|
long_single_line_text:
|
6
9
|
field_code: long_single_line_text
|
7
10
|
type: SINGLE_LINE_TEXT
|
8
11
|
long:
|
9
12
|
field_code: long
|
10
13
|
type: NUMBER
|
14
|
+
long_date:
|
15
|
+
field_code: long_date
|
16
|
+
type: DATE
|
17
|
+
long_date_jst:
|
18
|
+
field_code: long_date_jst
|
19
|
+
type: DATE
|
20
|
+
timezone: Asia/Tokyo
|
21
|
+
long_date_pst:
|
22
|
+
field_code: long_date_pst
|
23
|
+
type: DATE
|
24
|
+
timezone: US/Pacific
|
25
|
+
long_time:
|
26
|
+
field_code: long_time
|
27
|
+
type: TIME
|
28
|
+
long_time_jst:
|
29
|
+
field_code: long_time_jst
|
30
|
+
type: TIME
|
31
|
+
timezone: Asia/Tokyo
|
32
|
+
long_time_pst:
|
33
|
+
field_code: long_time_pst
|
34
|
+
type: TIME
|
35
|
+
timezone: US/Pacific
|
36
|
+
long_datetime:
|
37
|
+
field_code: long_datetime
|
38
|
+
type: DATETIME
|
11
39
|
double_single_line_text:
|
12
40
|
field_code: double_single_line_text
|
13
41
|
type: SINGLE_LINE_TEXT
|
14
42
|
double:
|
15
43
|
field_code: double
|
16
44
|
type: NUMBER
|
45
|
+
double_date:
|
46
|
+
field_code: double_date
|
47
|
+
type: DATE
|
48
|
+
double_date_jst:
|
49
|
+
field_code: double_date_jst
|
50
|
+
type: DATE
|
51
|
+
timezone: Asia/Tokyo
|
52
|
+
double_date_pst:
|
53
|
+
field_code: double_date_pst
|
54
|
+
type: DATE
|
55
|
+
timezone: US/Pacific
|
56
|
+
double_time:
|
57
|
+
field_code: double_time
|
58
|
+
type: TIME
|
59
|
+
double_time_jst:
|
60
|
+
field_code: double_time_jst
|
61
|
+
type: TIME
|
62
|
+
timezone: Asia/Tokyo
|
63
|
+
double_time_pst:
|
64
|
+
field_code: double_time_pst
|
65
|
+
type: TIME
|
66
|
+
timezone: US/Pacific
|
67
|
+
double_datetime:
|
68
|
+
field_code: double_datetime
|
69
|
+
type: DATETIME
|
17
70
|
string_single_line_text:
|
18
71
|
field_code: string_single_line_text
|
19
72
|
type: SINGLE_LINE_TEXT
|
20
73
|
string:
|
21
74
|
field_code: string
|
22
75
|
type: MULTI_LINE_TEXT
|
76
|
+
string_rich_text:
|
77
|
+
field_code: string_rich_text
|
78
|
+
type: RICH_TEXT
|
23
79
|
string_number:
|
24
80
|
field_code: string_number
|
25
81
|
type: NUMBER
|
26
82
|
string_check_box:
|
27
83
|
field_code: string_check_box
|
28
84
|
type: CHECK_BOX
|
85
|
+
string_radio_button:
|
86
|
+
field_code: string_radio_button
|
87
|
+
type: RADIO_BUTTON
|
88
|
+
string_multi_select:
|
89
|
+
field_code: string_multi_select
|
90
|
+
type: MULTI_SELECT
|
29
91
|
string_drop_down:
|
30
92
|
field_code: string_drop_down
|
31
93
|
type: DROP_DOWN
|
94
|
+
string_date:
|
95
|
+
field_code: string_date
|
96
|
+
type: DATE
|
97
|
+
string_date_jst:
|
98
|
+
field_code: string_date_jst
|
99
|
+
type: DATE
|
100
|
+
timezone: Asia/Tokyo
|
101
|
+
string_date_pst:
|
102
|
+
field_code: string_date_pst
|
103
|
+
type: DATE
|
104
|
+
timezone: US/Pacific
|
105
|
+
string_time:
|
106
|
+
field_code: string_time
|
107
|
+
type: TIME
|
108
|
+
string_time_jst:
|
109
|
+
field_code: string_time_jst
|
110
|
+
type: TIME
|
111
|
+
timezone: Asia/Tokyo
|
112
|
+
string_time_pst:
|
113
|
+
field_code: string_time_pst
|
114
|
+
type: TIME
|
115
|
+
timezone: US/Pacific
|
116
|
+
string_datetime:
|
117
|
+
field_code: string_datetime
|
118
|
+
type: DATETIME
|
32
119
|
string_link:
|
33
120
|
field_code: string_link
|
34
121
|
type: LINK
|
122
|
+
timestamp_single_line_text:
|
123
|
+
field_code: timestamp_single_line_text
|
124
|
+
type: SINGLE_LINE_TEXT
|
125
|
+
timestamp_number:
|
126
|
+
field_code: timestamp_number
|
127
|
+
type: NUMBER
|
35
128
|
timestamp_date:
|
36
129
|
field_code: timestamp_date
|
37
130
|
type: DATE
|
@@ -43,6 +136,17 @@ column_options:
|
|
43
136
|
field_code: timestamp_date_pst
|
44
137
|
type: DATE
|
45
138
|
timezone: US/Pacific
|
139
|
+
timestamp_time:
|
140
|
+
field_code: timestamp_time
|
141
|
+
type: TIME
|
142
|
+
timestamp_time_jst:
|
143
|
+
field_code: timestamp_time_jst
|
144
|
+
type: TIME
|
145
|
+
timezone: Asia/Tokyo
|
146
|
+
timestamp_time_pst:
|
147
|
+
field_code: timestamp_time_pst
|
148
|
+
type: TIME
|
149
|
+
timezone: US/Pacific
|
46
150
|
timestamp:
|
47
151
|
field_code: timestamp
|
48
152
|
type: DATETIME
|
@@ -1,7 +1,7 @@
|
|
1
|
-
boolean_single_line_text:boolean,long_single_line_text:long,long:long,double_single_line_text:double,double:double,string_single_line_text:string,string:string,string_number:string,string_check_box:string,string_drop_down:string,string_link:string,timestamp_date:timestamp,timestamp_date_jst:timestamp,timestamp_date_pst:timestamp,timestamp:timestamp,json_single_line_text:json,json:json
|
2
|
-
|
3
|
-
|
4
|
-
true,123,123,123,123,abc,abc,123,"123,abc",abc,abc,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,"""abc""","""abc"""
|
5
|
-
|
6
|
-
|
7
|
-
false,456,456,456,456,def,def,456,"456,def",def,def,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,"""def""","""def"""
|
1
|
+
boolean_single_line_text:boolean,boolean:boolean,long_single_line_text:long,long:long,long_date:long,long_date_jst:long,long_date_pst:long,long_time:long,long_time_jst:long,long_time_pst:long,long_datetime:long,double_single_line_text:double,double:double,double_date:double,double_date_jst:double,double_date_pst:double,double_time:double,double_time_jst:double,double_time_pst:double,double_datetime:double,string_single_line_text:string,string:string,string_rich_text:string,string_number:string,string_check_box:string,string_radio_button:string,string_multi_select:string,string_drop_down:string,string_date:string,string_date_jst:string,string_date_pst:string,string_time:string,string_time_jst:string,string_time_pst:string,string_datetime:string,string_link:string,timestamp_single_line_text:timestamp,timestamp_number:timestamp,timestamp_date:timestamp,timestamp_date_jst:timestamp,timestamp_date_pst:timestamp,timestamp_time:timestamp,timestamp_time_jst:timestamp,timestamp_time_pst:timestamp,timestamp:timestamp,json_single_line_text:json,json:json
|
2
|
+
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
3
|
+
,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
4
|
+
true,true,123,123,946684799,946684799,946684799,946684799,946684799,946684799,946684799,123,123,946684799,946684799,946684799,946684799,946684799,946684799,946684799,abc,abc,abc,123,"123,abc",abc,"123,abc",abc,1999-12-31,1999-12-31,1999-12-31,23:59:59,23:59:59,23:59:59,1999-12-31T23:59:59Z,abc,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,1999-12-31 23:59:59.000 +0000,"""abc""","""abc"""
|
5
|
+
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
|
6
|
+
,,,,,,,,,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,
|
7
|
+
false,false,456,456,946684800,946684800,946684800,946684800,946684800,946684800,946684800,456,456,946684800,946684800,946684800,946684800,946684800,946684800,946684800,def,def,def,456,"456,def",def,"456,def",def,2000-01-01,2000-01-01,2000-01-01,00:00:00,00:00:00,00:00:00,2000-01-01T00:00:00Z,def,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,2000-01-01 00:00:00.000 +0000,"""def""","""def"""
|
data/src/test/resources/org/embulk/output/kintone/task/mode/insert_add_ignore_nulls_records.jsonl
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
{}
|
2
|
+
{"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1.0"}}
|
3
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"true"},"boolean":{"type":"NUMBER","value":"1"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123"},"long":{"type":"NUMBER","value":"123"},"long_date":{"type":"DATE","value":"1999-12-31"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"23:59:59"},"long_time_jst":{"type":"TIME","value":"08:59:59"},"long_time_pst":{"type":"TIME","value":"15:59:59"},"long_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123.0"},"double":{"type":"NUMBER","value":"123.0"},"double_date":{"type":"DATE","value":"1999-12-31"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"23:59:59"},"double_time_jst":{"type":"TIME","value":"08:59:59"},"double_time_pst":{"type":"TIME","value":"15:59:59"},"double_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"string":{"type":"MULTI_LINE_TEXT","value":"abc"},"string_rich_text":{"type":"RICH_TEXT","value":"abc"},"string_number":{"type":"NUMBER","value":"123"},"string_check_box":{"type":"CHECK_BOX","value":["123","abc"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"abc"},"string_multi_select":{"type":"MULTI_SELECT","value":["123","abc"]},"string_drop_down":{"type":"DROP_DOWN","value":"abc"},"string_date":{"type":"DATE","value":"1999-12-31"},"string_date_jst":{"type":"DATE","value":"1999-12-31"},"string_date_pst":{"type":"DATE","value":"1999-12-30"},"string_time":{"type":"TIME","value":"23:59:59"},"string_time_jst":{"type":"TIME","value":"08:59:59"},"string_time_pst":{"type":"TIME","value":"15:59:59"},"string_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_link":{"type":"LINK","value":"abc"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1999-12-31T23:59:59Z"},"timestamp_number":{"type":"NUMBER","value":"946684799"},"timestamp_date":{"type":"DATE","value":"1999-12-31"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"23:59:59"},"timestamp_time_jst":{"type":"TIME","value":"08:59:59"},"timestamp_time_pst":{"type":"TIME","value":"15:59:59"},"timestamp":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"abc\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"abc\""}}
|
4
|
+
{}
|
5
|
+
{"string_number":{"type":"NUMBER","value":"1"}}
|
6
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456"},"long":{"type":"NUMBER","value":"456"},"long_date":{"type":"DATE","value":"2000-01-01"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456.0"},"double":{"type":"NUMBER","value":"456.0"},"double_date":{"type":"DATE","value":"2000-01-01"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"string":{"type":"MULTI_LINE_TEXT","value":"def"},"string_rich_text":{"type":"RICH_TEXT","value":"def"},"string_number":{"type":"NUMBER","value":"456"},"string_check_box":{"type":"CHECK_BOX","value":["456","def"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"def"},"string_multi_select":{"type":"MULTI_SELECT","value":["456","def"]},"string_drop_down":{"type":"DROP_DOWN","value":"def"},"string_date":{"type":"DATE","value":"2000-01-01"},"string_date_jst":{"type":"DATE","value":"2000-01-01"},"string_date_pst":{"type":"DATE","value":"1999-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":"def"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"2000-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"946684800"},"timestamp_date":{"type":"DATE","value":"2000-01-01"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"def\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"def\""}}
|
data/src/test/resources/org/embulk/output/kintone/task/mode/insert_add_prefer_nulls_records.jsonl
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"boolean":{"type":"NUMBER","value":null},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"long":{"type":"NUMBER","value":null},"long_date":{"type":"DATE","value":null},"long_date_jst":{"type":"DATE","value":null},"long_date_pst":{"type":"DATE","value":null},"long_time":{"type":"TIME","value":null},"long_time_jst":{"type":"TIME","value":null},"long_time_pst":{"type":"TIME","value":null},"long_datetime":{"type":"DATETIME","value":null},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"double":{"type":"NUMBER","value":null},"double_date":{"type":"DATE","value":null},"double_date_jst":{"type":"DATE","value":null},"double_date_pst":{"type":"DATE","value":null},"double_time":{"type":"TIME","value":null},"double_time_jst":{"type":"TIME","value":null},"double_time_pst":{"type":"TIME","value":null},"double_datetime":{"type":"DATETIME","value":null},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"string":{"type":"MULTI_LINE_TEXT","value":null},"string_rich_text":{"type":"RICH_TEXT","value":null},"string_number":{"type":"NUMBER","value":null},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":null},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":null},"string_date":{"type":"DATE","value":null},"string_date_jst":{"type":"DATE","value":null},"string_date_pst":{"type":"DATE","value":null},"string_time":{"type":"TIME","value":null},"string_time_jst":{"type":"TIME","value":null},"string_time_pst":{"type":"TIME","value":null},"string_datetime":{"type":"DATETIME","value":null},"string_link":{"type":"LINK","value":null},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"timestamp_number":{"type":"NUMBER","value":null},"timestamp_date":{"type":"DATE","value":null},"timestamp_date_jst":{"type":"DATE","value":null},"timestamp_date_pst":{"type":"DATE","value":null},"timestamp_time":{"type":"TIME","value":null},"timestamp_time_jst":{"type":"TIME","value":null},"timestamp_time_pst":{"type":"TIME","value":null},"timestamp":{"type":"DATETIME","value":null},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"json":{"type":"MULTI_LINE_TEXT","value":null}}
|
2
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"boolean":{"type":"NUMBER","value":null},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"long":{"type":"NUMBER","value":null},"long_date":{"type":"DATE","value":null},"long_date_jst":{"type":"DATE","value":null},"long_date_pst":{"type":"DATE","value":null},"long_time":{"type":"TIME","value":null},"long_time_jst":{"type":"TIME","value":null},"long_time_pst":{"type":"TIME","value":null},"long_datetime":{"type":"DATETIME","value":null},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1.0"},"double":{"type":"NUMBER","value":null},"double_date":{"type":"DATE","value":null},"double_date_jst":{"type":"DATE","value":null},"double_date_pst":{"type":"DATE","value":null},"double_time":{"type":"TIME","value":null},"double_time_jst":{"type":"TIME","value":null},"double_time_pst":{"type":"TIME","value":null},"double_datetime":{"type":"DATETIME","value":null},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"string":{"type":"MULTI_LINE_TEXT","value":null},"string_rich_text":{"type":"RICH_TEXT","value":null},"string_number":{"type":"NUMBER","value":null},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":null},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":null},"string_date":{"type":"DATE","value":null},"string_date_jst":{"type":"DATE","value":null},"string_date_pst":{"type":"DATE","value":null},"string_time":{"type":"TIME","value":null},"string_time_jst":{"type":"TIME","value":null},"string_time_pst":{"type":"TIME","value":null},"string_datetime":{"type":"DATETIME","value":null},"string_link":{"type":"LINK","value":null},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"timestamp_number":{"type":"NUMBER","value":null},"timestamp_date":{"type":"DATE","value":null},"timestamp_date_jst":{"type":"DATE","value":null},"timestamp_date_pst":{"type":"DATE","value":null},"timestamp_time":{"type":"TIME","value":null},"timestamp_time_jst":{"type":"TIME","value":null},"timestamp_time_pst":{"type":"TIME","value":null},"timestamp":{"type":"DATETIME","value":null},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"json":{"type":"MULTI_LINE_TEXT","value":null}}
|
3
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"true"},"boolean":{"type":"NUMBER","value":"1"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123"},"long":{"type":"NUMBER","value":"123"},"long_date":{"type":"DATE","value":"1999-12-31"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"23:59:59"},"long_time_jst":{"type":"TIME","value":"08:59:59"},"long_time_pst":{"type":"TIME","value":"15:59:59"},"long_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123.0"},"double":{"type":"NUMBER","value":"123.0"},"double_date":{"type":"DATE","value":"1999-12-31"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"23:59:59"},"double_time_jst":{"type":"TIME","value":"08:59:59"},"double_time_pst":{"type":"TIME","value":"15:59:59"},"double_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"string":{"type":"MULTI_LINE_TEXT","value":"abc"},"string_rich_text":{"type":"RICH_TEXT","value":"abc"},"string_number":{"type":"NUMBER","value":"123"},"string_check_box":{"type":"CHECK_BOX","value":["123","abc"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"abc"},"string_multi_select":{"type":"MULTI_SELECT","value":["123","abc"]},"string_drop_down":{"type":"DROP_DOWN","value":"abc"},"string_date":{"type":"DATE","value":"1999-12-31"},"string_date_jst":{"type":"DATE","value":"1999-12-31"},"string_date_pst":{"type":"DATE","value":"1999-12-30"},"string_time":{"type":"TIME","value":"23:59:59"},"string_time_jst":{"type":"TIME","value":"08:59:59"},"string_time_pst":{"type":"TIME","value":"15:59:59"},"string_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_link":{"type":"LINK","value":"abc"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1999-12-31T23:59:59Z"},"timestamp_number":{"type":"NUMBER","value":"946684799"},"timestamp_date":{"type":"DATE","value":"1999-12-31"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"23:59:59"},"timestamp_time_jst":{"type":"TIME","value":"08:59:59"},"timestamp_time_pst":{"type":"TIME","value":"15:59:59"},"timestamp":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"abc\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"abc\""}}
|
4
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"boolean":{"type":"NUMBER","value":null},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"long":{"type":"NUMBER","value":null},"long_date":{"type":"DATE","value":null},"long_date_jst":{"type":"DATE","value":null},"long_date_pst":{"type":"DATE","value":null},"long_time":{"type":"TIME","value":null},"long_time_jst":{"type":"TIME","value":null},"long_time_pst":{"type":"TIME","value":null},"long_datetime":{"type":"DATETIME","value":null},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"double":{"type":"NUMBER","value":null},"double_date":{"type":"DATE","value":null},"double_date_jst":{"type":"DATE","value":null},"double_date_pst":{"type":"DATE","value":null},"double_time":{"type":"TIME","value":null},"double_time_jst":{"type":"TIME","value":null},"double_time_pst":{"type":"TIME","value":null},"double_datetime":{"type":"DATETIME","value":null},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"string":{"type":"MULTI_LINE_TEXT","value":null},"string_rich_text":{"type":"RICH_TEXT","value":null},"string_number":{"type":"NUMBER","value":null},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":null},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":null},"string_date":{"type":"DATE","value":null},"string_date_jst":{"type":"DATE","value":null},"string_date_pst":{"type":"DATE","value":null},"string_time":{"type":"TIME","value":null},"string_time_jst":{"type":"TIME","value":null},"string_time_pst":{"type":"TIME","value":null},"string_datetime":{"type":"DATETIME","value":null},"string_link":{"type":"LINK","value":null},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"timestamp_number":{"type":"NUMBER","value":null},"timestamp_date":{"type":"DATE","value":null},"timestamp_date_jst":{"type":"DATE","value":null},"timestamp_date_pst":{"type":"DATE","value":null},"timestamp_time":{"type":"TIME","value":null},"timestamp_time_jst":{"type":"TIME","value":null},"timestamp_time_pst":{"type":"TIME","value":null},"timestamp":{"type":"DATETIME","value":null},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"json":{"type":"MULTI_LINE_TEXT","value":null}}
|
5
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"boolean":{"type":"NUMBER","value":null},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"long":{"type":"NUMBER","value":null},"long_date":{"type":"DATE","value":null},"long_date_jst":{"type":"DATE","value":null},"long_date_pst":{"type":"DATE","value":null},"long_time":{"type":"TIME","value":null},"long_time_jst":{"type":"TIME","value":null},"long_time_pst":{"type":"TIME","value":null},"long_datetime":{"type":"DATETIME","value":null},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"double":{"type":"NUMBER","value":null},"double_date":{"type":"DATE","value":null},"double_date_jst":{"type":"DATE","value":null},"double_date_pst":{"type":"DATE","value":null},"double_time":{"type":"TIME","value":null},"double_time_jst":{"type":"TIME","value":null},"double_time_pst":{"type":"TIME","value":null},"double_datetime":{"type":"DATETIME","value":null},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"string":{"type":"MULTI_LINE_TEXT","value":null},"string_rich_text":{"type":"RICH_TEXT","value":null},"string_number":{"type":"NUMBER","value":"1"},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":null},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":null},"string_date":{"type":"DATE","value":null},"string_date_jst":{"type":"DATE","value":null},"string_date_pst":{"type":"DATE","value":null},"string_time":{"type":"TIME","value":null},"string_time_jst":{"type":"TIME","value":null},"string_time_pst":{"type":"TIME","value":null},"string_datetime":{"type":"DATETIME","value":null},"string_link":{"type":"LINK","value":null},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"timestamp_number":{"type":"NUMBER","value":null},"timestamp_date":{"type":"DATE","value":null},"timestamp_date_jst":{"type":"DATE","value":null},"timestamp_date_pst":{"type":"DATE","value":null},"timestamp_time":{"type":"TIME","value":null},"timestamp_time_jst":{"type":"TIME","value":null},"timestamp_time_pst":{"type":"TIME","value":null},"timestamp":{"type":"DATETIME","value":null},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":null},"json":{"type":"MULTI_LINE_TEXT","value":null}}
|
6
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456"},"long":{"type":"NUMBER","value":"456"},"long_date":{"type":"DATE","value":"2000-01-01"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456.0"},"double":{"type":"NUMBER","value":"456.0"},"double_date":{"type":"DATE","value":"2000-01-01"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"string":{"type":"MULTI_LINE_TEXT","value":"def"},"string_rich_text":{"type":"RICH_TEXT","value":"def"},"string_number":{"type":"NUMBER","value":"456"},"string_check_box":{"type":"CHECK_BOX","value":["456","def"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"def"},"string_multi_select":{"type":"MULTI_SELECT","value":["456","def"]},"string_drop_down":{"type":"DROP_DOWN","value":"def"},"string_date":{"type":"DATE","value":"2000-01-01"},"string_date_jst":{"type":"DATE","value":"2000-01-01"},"string_date_pst":{"type":"DATE","value":"1999-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":"def"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"2000-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"946684800"},"timestamp_date":{"type":"DATE","value":"2000-01-01"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"def\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"def\""}}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"long":{"type":"NUMBER","value":
|
2
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"long":{"type":"NUMBER","value":
|
3
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"true"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123"},"long":{"type":"NUMBER","value":"123"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123.0"},"double":{"type":"NUMBER","value":"123.0"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"string":{"type":"MULTI_LINE_TEXT","value":"abc"},"string_number":{"type":"NUMBER","value":"123"},"string_check_box":{"type":"CHECK_BOX","value":["123","abc"]},"string_drop_down":{"type":"DROP_DOWN","value":"abc"},"string_link":{"type":"LINK","value":"abc"},"timestamp_date":{"type":"DATE","value":"1999-12-31"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"json":{"type":"MULTI_LINE_TEXT","value":"abc"}}
|
4
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"long":{"type":"NUMBER","value":
|
5
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"long":{"type":"NUMBER","value":
|
6
|
-
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456"},"long":{"type":"NUMBER","value":"456"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456.0"},"double":{"type":"NUMBER","value":"456.0"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"string":{"type":"MULTI_LINE_TEXT","value":"def"},"string_number":{"type":"NUMBER","value":"456"},"string_check_box":{"type":"CHECK_BOX","value":["456","def"]},"string_drop_down":{"type":"DROP_DOWN","value":"def"},"string_link":{"type":"LINK","value":"def"},"timestamp_date":{"type":"DATE","value":"2000-01-01"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"json":{"type":"MULTI_LINE_TEXT","value":"def"}}
|
1
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0"},"long":{"type":"NUMBER","value":"0"},"long_date":{"type":"DATE","value":"1970-01-01"},"long_date_jst":{"type":"DATE","value":"1970-01-01"},"long_date_pst":{"type":"DATE","value":"1969-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0.0"},"double":{"type":"NUMBER","value":"0.0"},"double_date":{"type":"DATE","value":"1970-01-01"},"double_date_jst":{"type":"DATE","value":"1970-01-01"},"double_date_pst":{"type":"DATE","value":"1969-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"string":{"type":"MULTI_LINE_TEXT","value":""},"string_rich_text":{"type":"RICH_TEXT","value":""},"string_number":{"type":"NUMBER","value":"0"},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":""},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":""},"string_date":{"type":"DATE","value":"1970-01-01"},"string_date_jst":{"type":"DATE","value":"1970-01-01"},"string_date_pst":{"type":"DATE","value":"1969-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":""},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1970-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"0"},"timestamp_date":{"type":"DATE","value":"1970-01-01"},"timestamp_date_jst":{"type":"DATE","value":"1970-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1969-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"\""}}
|
2
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0"},"long":{"type":"NUMBER","value":"0"},"long_date":{"type":"DATE","value":"1970-01-01"},"long_date_jst":{"type":"DATE","value":"1970-01-01"},"long_date_pst":{"type":"DATE","value":"1969-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1.0"},"double":{"type":"NUMBER","value":"0.0"},"double_date":{"type":"DATE","value":"1970-01-01"},"double_date_jst":{"type":"DATE","value":"1970-01-01"},"double_date_pst":{"type":"DATE","value":"1969-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"string":{"type":"MULTI_LINE_TEXT","value":""},"string_rich_text":{"type":"RICH_TEXT","value":""},"string_number":{"type":"NUMBER","value":"0"},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":""},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":""},"string_date":{"type":"DATE","value":"1970-01-01"},"string_date_jst":{"type":"DATE","value":"1970-01-01"},"string_date_pst":{"type":"DATE","value":"1969-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":""},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1970-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"0"},"timestamp_date":{"type":"DATE","value":"1970-01-01"},"timestamp_date_jst":{"type":"DATE","value":"1970-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1969-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"\""}}
|
3
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"true"},"boolean":{"type":"NUMBER","value":"1"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123"},"long":{"type":"NUMBER","value":"123"},"long_date":{"type":"DATE","value":"1999-12-31"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"23:59:59"},"long_time_jst":{"type":"TIME","value":"08:59:59"},"long_time_pst":{"type":"TIME","value":"15:59:59"},"long_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123.0"},"double":{"type":"NUMBER","value":"123.0"},"double_date":{"type":"DATE","value":"1999-12-31"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"23:59:59"},"double_time_jst":{"type":"TIME","value":"08:59:59"},"double_time_pst":{"type":"TIME","value":"15:59:59"},"double_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"string":{"type":"MULTI_LINE_TEXT","value":"abc"},"string_rich_text":{"type":"RICH_TEXT","value":"abc"},"string_number":{"type":"NUMBER","value":"123"},"string_check_box":{"type":"CHECK_BOX","value":["123","abc"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"abc"},"string_multi_select":{"type":"MULTI_SELECT","value":["123","abc"]},"string_drop_down":{"type":"DROP_DOWN","value":"abc"},"string_date":{"type":"DATE","value":"1999-12-31"},"string_date_jst":{"type":"DATE","value":"1999-12-31"},"string_date_pst":{"type":"DATE","value":"1999-12-30"},"string_time":{"type":"TIME","value":"23:59:59"},"string_time_jst":{"type":"TIME","value":"08:59:59"},"string_time_pst":{"type":"TIME","value":"15:59:59"},"string_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_link":{"type":"LINK","value":"abc"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1999-12-31T23:59:59Z"},"timestamp_number":{"type":"NUMBER","value":"946684799"},"timestamp_date":{"type":"DATE","value":"1999-12-31"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"23:59:59"},"timestamp_time_jst":{"type":"TIME","value":"08:59:59"},"timestamp_time_pst":{"type":"TIME","value":"15:59:59"},"timestamp":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"abc\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"abc\""}}
|
4
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0"},"long":{"type":"NUMBER","value":"0"},"long_date":{"type":"DATE","value":"1970-01-01"},"long_date_jst":{"type":"DATE","value":"1970-01-01"},"long_date_pst":{"type":"DATE","value":"1969-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0.0"},"double":{"type":"NUMBER","value":"0.0"},"double_date":{"type":"DATE","value":"1970-01-01"},"double_date_jst":{"type":"DATE","value":"1970-01-01"},"double_date_pst":{"type":"DATE","value":"1969-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"string":{"type":"MULTI_LINE_TEXT","value":""},"string_rich_text":{"type":"RICH_TEXT","value":""},"string_number":{"type":"NUMBER","value":"0"},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":""},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":""},"string_date":{"type":"DATE","value":"1970-01-01"},"string_date_jst":{"type":"DATE","value":"1970-01-01"},"string_date_pst":{"type":"DATE","value":"1969-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":""},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1970-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"0"},"timestamp_date":{"type":"DATE","value":"1970-01-01"},"timestamp_date_jst":{"type":"DATE","value":"1970-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1969-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"\""}}
|
5
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0"},"long":{"type":"NUMBER","value":"0"},"long_date":{"type":"DATE","value":"1970-01-01"},"long_date_jst":{"type":"DATE","value":"1970-01-01"},"long_date_pst":{"type":"DATE","value":"1969-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"0.0"},"double":{"type":"NUMBER","value":"0.0"},"double_date":{"type":"DATE","value":"1970-01-01"},"double_date_jst":{"type":"DATE","value":"1970-01-01"},"double_date_pst":{"type":"DATE","value":"1969-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":""},"string":{"type":"MULTI_LINE_TEXT","value":""},"string_rich_text":{"type":"RICH_TEXT","value":""},"string_number":{"type":"NUMBER","value":"1"},"string_check_box":{"type":"CHECK_BOX","value":[]},"string_radio_button":{"type":"RADIO_BUTTON","value":""},"string_multi_select":{"type":"MULTI_SELECT","value":[]},"string_drop_down":{"type":"DROP_DOWN","value":""},"string_date":{"type":"DATE","value":"1970-01-01"},"string_date_jst":{"type":"DATE","value":"1970-01-01"},"string_date_pst":{"type":"DATE","value":"1969-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":""},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1970-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"0"},"timestamp_date":{"type":"DATE","value":"1970-01-01"},"timestamp_date_jst":{"type":"DATE","value":"1970-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1969-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"1970-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"\""}}
|
6
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456"},"long":{"type":"NUMBER","value":"456"},"long_date":{"type":"DATE","value":"2000-01-01"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456.0"},"double":{"type":"NUMBER","value":"456.0"},"double_date":{"type":"DATE","value":"2000-01-01"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"string":{"type":"MULTI_LINE_TEXT","value":"def"},"string_rich_text":{"type":"RICH_TEXT","value":"def"},"string_number":{"type":"NUMBER","value":"456"},"string_check_box":{"type":"CHECK_BOX","value":["456","def"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"def"},"string_multi_select":{"type":"MULTI_SELECT","value":["456","def"]},"string_drop_down":{"type":"DROP_DOWN","value":"def"},"string_date":{"type":"DATE","value":"2000-01-01"},"string_date_jst":{"type":"DATE","value":"2000-01-01"},"string_date_pst":{"type":"DATE","value":"1999-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":"def"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"2000-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"946684800"},"timestamp_date":{"type":"DATE","value":"2000-01-01"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"def\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"def\""}}
|
data/src/test/resources/org/embulk/output/kintone/task/mode/update_update_ignore_nulls_records.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"true"},"boolean":{"type":"NUMBER","value":"1"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123"},"long":{"type":"NUMBER","value":"123"},"long_date":{"type":"DATE","value":"1999-12-31"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"23:59:59"},"long_time_jst":{"type":"TIME","value":"08:59:59"},"long_time_pst":{"type":"TIME","value":"15:59:59"},"long_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"123.0"},"double":{"type":"NUMBER","value":"123.0"},"double_date":{"type":"DATE","value":"1999-12-31"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"23:59:59"},"double_time_jst":{"type":"TIME","value":"08:59:59"},"double_time_pst":{"type":"TIME","value":"15:59:59"},"double_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"abc"},"string":{"type":"MULTI_LINE_TEXT","value":"abc"},"string_rich_text":{"type":"RICH_TEXT","value":"abc"},"string_number":{"type":"NUMBER","value":"123"},"string_check_box":{"type":"CHECK_BOX","value":["123","abc"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"abc"},"string_multi_select":{"type":"MULTI_SELECT","value":["123","abc"]},"string_drop_down":{"type":"DROP_DOWN","value":"abc"},"string_date":{"type":"DATE","value":"1999-12-31"},"string_date_jst":{"type":"DATE","value":"1999-12-31"},"string_date_pst":{"type":"DATE","value":"1999-12-30"},"string_time":{"type":"TIME","value":"23:59:59"},"string_time_jst":{"type":"TIME","value":"08:59:59"},"string_time_pst":{"type":"TIME","value":"15:59:59"},"string_datetime":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"string_link":{"type":"LINK","value":"abc"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"1999-12-31T23:59:59Z"},"timestamp_number":{"type":"NUMBER","value":"946684799"},"timestamp_date":{"type":"DATE","value":"1999-12-31"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"23:59:59"},"timestamp_time_jst":{"type":"TIME","value":"08:59:59"},"timestamp_time_pst":{"type":"TIME","value":"15:59:59"},"timestamp":{"type":"DATETIME","value":"1999-12-31T23:59:59Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"abc\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"abc\""}}
|
2
|
+
{"string_number":{"type":"NUMBER","value":"1"}}
|
3
|
+
{"boolean_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"false"},"boolean":{"type":"NUMBER","value":"0"},"long_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456"},"long":{"type":"NUMBER","value":"456"},"long_date":{"type":"DATE","value":"2000-01-01"},"long_date_jst":{"type":"DATE","value":"2000-01-01"},"long_date_pst":{"type":"DATE","value":"1999-12-31"},"long_time":{"type":"TIME","value":"00:00:00"},"long_time_jst":{"type":"TIME","value":"09:00:00"},"long_time_pst":{"type":"TIME","value":"16:00:00"},"long_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"double_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"456.0"},"double":{"type":"NUMBER","value":"456.0"},"double_date":{"type":"DATE","value":"2000-01-01"},"double_date_jst":{"type":"DATE","value":"2000-01-01"},"double_date_pst":{"type":"DATE","value":"1999-12-31"},"double_time":{"type":"TIME","value":"00:00:00"},"double_time_jst":{"type":"TIME","value":"09:00:00"},"double_time_pst":{"type":"TIME","value":"16:00:00"},"double_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"def"},"string":{"type":"MULTI_LINE_TEXT","value":"def"},"string_rich_text":{"type":"RICH_TEXT","value":"def"},"string_number":{"type":"NUMBER","value":"456"},"string_check_box":{"type":"CHECK_BOX","value":["456","def"]},"string_radio_button":{"type":"RADIO_BUTTON","value":"def"},"string_multi_select":{"type":"MULTI_SELECT","value":["456","def"]},"string_drop_down":{"type":"DROP_DOWN","value":"def"},"string_date":{"type":"DATE","value":"2000-01-01"},"string_date_jst":{"type":"DATE","value":"2000-01-01"},"string_date_pst":{"type":"DATE","value":"1999-12-31"},"string_time":{"type":"TIME","value":"00:00:00"},"string_time_jst":{"type":"TIME","value":"09:00:00"},"string_time_pst":{"type":"TIME","value":"16:00:00"},"string_datetime":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"string_link":{"type":"LINK","value":"def"},"timestamp_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"2000-01-01T00:00:00Z"},"timestamp_number":{"type":"NUMBER","value":"946684800"},"timestamp_date":{"type":"DATE","value":"2000-01-01"},"timestamp_date_jst":{"type":"DATE","value":"2000-01-01"},"timestamp_date_pst":{"type":"DATE","value":"1999-12-31"},"timestamp_time":{"type":"TIME","value":"00:00:00"},"timestamp_time_jst":{"type":"TIME","value":"09:00:00"},"timestamp_time_pst":{"type":"TIME","value":"16:00:00"},"timestamp":{"type":"DATETIME","value":"2000-01-01T00:00:00Z"},"json_single_line_text":{"type":"SINGLE_LINE_TEXT","value":"\"def\""},"json":{"type":"MULTI_LINE_TEXT","value":"\"def\""}}
|