Skip to content

Commit 435baf5

Browse files
committed
Corrected READMEs (embulk-output-jdbc operations are not resumable)
1 parent e498482 commit 435baf5

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

embulk-output-db2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ DB2 output plugins for Embulk loads records to DB2.
4242
* **insert**:
4343
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
4444
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
45-
* Resumable: Yes.
45+
* Resumable: No.
4646
* **insert_direct**:
4747
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
4848
* Transactional: No. If fails, the target table could have some rows inserted.
4949
* Resumable: No.
5050
* **truncate_insert**:
5151
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
5252
* Transactional: Yes.
53-
* Resumable: Yes.
53+
* Resumable: No.
5454
* **replace**:
5555
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
5656
* Transactional: No. If fails, the target table could be dropped (because DB2 can't rollback DDL).

embulk-output-jdbc/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@ Generic JDBC output plugin for Embulk loads records to a database using a JDBC d
4141
* **insert**:
4242
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
4343
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
44-
* Resumable: Yes.
44+
* Resumable: No.
4545
* **insert_direct**:
4646
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
4747
* Transactional: No. If fails, the target table could have some rows inserted.
4848
* Resumable: No.
4949
* **truncate_insert**:
5050
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
5151
* Transactional: Yes.
52-
* Resumable: Yes.
52+
* Resumable: No.
5353
* **replace**:
5454
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
5555
* Transactional: No. If fails, the target table could be dropped.
5656
* Resumable: No.
5757
* **merge**:
5858
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, merges the intermediate tables into the target table. Namely, if primary keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically.
5959
* Transactional: Yes.
60-
* Resumable: Yes.
60+
* Resumable: No.
6161
* **merge_direct**:
6262
* Behavior: This mode merges rows to the target table directly. Namely, if primary keys of an input record already exist in the target table, the target record is updated by the input record, otherwise the input record is inserted. If the target table doesn't exist, it is created automatically.
6363
* Transactional: No.

embulk-output-mysql/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ MySQL output plugin for Embulk loads records to MySQL.
4343
* **insert**:
4444
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
4545
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
46-
* Resumable: Yes.
46+
* Resumable: No.
4747
* **insert_direct**:
4848
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
4949
* Transactional: No. If fails, the target table could have some rows inserted.
5050
* Resumable: No.
5151
* **truncate_insert**:
5252
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
5353
* Transactional: Yes.
54-
* Resumable: Yes.
54+
* Resumable: No.
5555
* **replace**:
5656
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
5757
* Transactional: No. If fails, the target table could be dropped (because MySQL can't rollback DDL).
5858
* Resumable: No.
5959
* **merge**:
6060
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ... ON DUPLICATE KEY UPDATE ...` query. Namely, if primary keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically.
6161
* Transactional: Yes.
62-
* Resumable: Yes.
62+
* Resumable: No.
6363
* **merge_direct**:
6464
* Behavior: This mode inserts rows to the target table directly using `INSERT INTO ... ON DUPLICATE KEY UPDATE ...` query. If the target table doesn't exist, it is created automatically.
6565
* Transactional: No.

embulk-output-oracle/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@ Oracle output plugin for Embulk loads records to Oracle.
4646
* **insert**:
4747
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
4848
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
49-
* Resumable: Yes.
49+
* Resumable: No.
5050
* **insert_direct**:
5151
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
5252
* Transactional: No. If fails, the target table could have some rows inserted.
5353
* Resumable: No.
5454
* **truncate_insert**:
5555
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
5656
* Transactional: Yes.
57-
* Resumable: Yes.
57+
* Resumable: No.
5858
* **replace**:
5959
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
6060
* Transactional: Yes.
6161
* Resumable: No.
6262
* **merge**:
6363
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `MERGE INTO ... WHEN MATCHED THEN UPDATE ... WHEN NOT MATCHED THEN INSERT ...` query. Namely, if merge keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically.
6464
* Transactional: Yes.
65-
* Resumable: Yes.
65+
* Resumable: No.
6666

6767
### Insert methods
6868

embulk-output-postgresql/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ PostgreSQL output plugin for Embulk loads records to PostgreSQL.
4545
* **insert**:
4646
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
4747
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
48-
* Resumable: Yes.
48+
* Resumable: No.
4949
* **insert_direct**:
5050
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
5151
* Transactional: No. If fails, the target table could have some rows inserted.
5252
* Resumable: No.
5353
* **truncate_insert**:
5454
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
5555
* Transactional: Yes.
56-
* Resumable: Yes.
56+
* Resumable: No.
5757
* **replace**:
5858
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
5959
* Transactional: Yes.
6060
* Resumable: No.
6161
* **merge**:
6262
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `WITH updated AS (UPDATE .... RETURNING ...) INSERT INTO ....` query. Namely, if merge keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically.
6363
* Transactional: Yes.
64-
* Resumable: Yes.
64+
* Resumable: No.
6565
* **merge_direct**:
6666
* Behavior: This mode inserts rows to the target table directly using `WITH S AS (SELECT ...), updated AS (UPDATE .... RETURNING ...) INSERT INTO ....` query. If the target table doesn't exist, it is created automatically.
6767
* Transactional: No.

embulk-output-redshift/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,23 @@ Redshift output plugin for Embulk loads records to Redshift.
9797
* **insert**:
9898
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
9999
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
100-
* Resumable: Yes.
100+
* Resumable: No.
101101
* **insert_direct**:
102102
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
103103
* Transactional: No. If fails, the target table could have some rows inserted.
104104
* Resumable: No.
105105
* **truncate_insert**:
106106
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
107107
* Transactional: Yes.
108-
* Resumable: Yes.
108+
* Resumable: No.
109109
* **replace**:
110110
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
111111
* Transactional: Yes.
112112
* Resumable: No.
113113
* **merge**:
114114
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, inserts new records from intermediate tables after updating records whose keys exist in intermediate tables. Namely, if merge keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically. NOTE: Merge does not work correctly if merge keys contain `NULL`s.
115115
* Transactional: Yes.
116-
* Resumable: Yes.
116+
* Resumable: No.
117117
118118
### Supported types
119119

embulk-output-sqlserver/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,23 @@ embulk "-J-Djava.library.path=C:\drivers" run input-sqlserver.yml
5656
* **insert**:
5757
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `INSERT INTO <target_table> SELECT * FROM <intermediate_table_1> UNION ALL SELECT * FROM <intermediate_table_2> UNION ALL ...` query. If the target table doesn't exist, it is created automatically.
5858
* Transactional: Yes. This mode successfully writes all rows, or fails with writing zero rows.
59-
* Resumable: Yes.
59+
* Resumable: No.
6060
* **insert_direct**:
6161
* Behavior: This mode inserts rows to the target table directly. If the target table doesn't exist, it is created automatically.
6262
* Transactional: No. If fails, the target table could have some rows inserted.
6363
* Resumable: No.
6464
* **truncate_insert**:
6565
* Behavior: Same with `insert` mode excepting that it truncates the target table right before the last `INSERT ...` query.
6666
* Transactional: Yes.
67-
* Resumable: Yes.
67+
* Resumable: No.
6868
* **replace**:
6969
* Behavior: This mode writes rows to an intermediate table first. If all those tasks run correctly, drops the target table and alters the name of the intermediate table into the target table name.
7070
* Transactional: No. If fails, the target table could be dropped (because SQL Server can't rollback DDL).
7171
* Resumable: No.
7272
* **merge**:
7373
* Behavior: This mode writes rows to some intermediate tables first. If all those tasks run correctly, runs `MERGE INTO ... WHEN MATCHED THEN UPDATE ... WHEN NOT MATCHED THEN INSERT ...` query. Namely, if merge keys of a record in the intermediate tables already exist in the target table, the target record is updated by the intermediate record, otherwise the intermediate record is inserted. If the target table doesn't exist, it is created automatically.
7474
* Transactional: Yes.
75-
* Resumable: Yes.
75+
* Resumable: No.
7676

7777
### Insert methods
7878

0 commit comments

Comments
 (0)