embulk-output-mysql 0.5.0 → 0.5.1

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: e36146f32e7fdb66062430939e154c92e3a8e29f
4
- data.tar.gz: 4ea44e39b2f47c708014c94989bc44a4e92aea3d
3
+ metadata.gz: 32a3c79a38f350aa892f0a2633f493dfb96a0421
4
+ data.tar.gz: e3fbd0bbcd69d02645a6a50cdd8c6361373ae84e
5
5
  SHA512:
6
- metadata.gz: ac6a3b538a843a3bdc6c1b51806e52b20aea6ea990e67c56ca80d379c92159075b123c9a414558d04acc36d1a000ca051de847f5be1fc4950c0123dd02c8772a
7
- data.tar.gz: 6e4626a3b5460a47dd50295ca78406cddc886599beb7bf6bd15b3b2d0c0a4aebc0b0ee5ded5513de7207591eb5bd7acc3d158054b54dc2627601d428eb4529a3
6
+ metadata.gz: ad6e29c063b91bf23fca6364ffaa393d2cdabf4f7fdcc3aa9e3ab65b97084ef08200152f91c6eb4f1421b6294bc64b95c94bdf5c4a4661ceb8b65e15c3d3edb6
7
+ data.tar.gz: a6b293ae7989463a5ac7157902e2fb42a388837e3b57600004c18240a6c499e55f296716a9cb5112abefa4845268d586a6aeeba86baf1f96de600f4f009bd8ee
data/README.md CHANGED
@@ -5,8 +5,8 @@ MySQL output plugins for Embulk loads records to MySQL.
5
5
  ## Overview
6
6
 
7
7
  * **Plugin type**: output
8
- * **Load all or nothing**: depnds on the mode. see bellow.
9
- * **Resume supported**: depnds on the mode. see bellow.
8
+ * **Load all or nothing**: depnds on the mode. see below.
9
+ * **Resume supported**: depnds on the mode. see below.
10
10
 
11
11
  ## Configuration
12
12
 
@@ -17,7 +17,7 @@ MySQL output plugins for Embulk loads records to MySQL.
17
17
  - **database**: destination database name (string, required)
18
18
  - **table**: destination table name (string, required)
19
19
  - **options**: extra connection properties (hash, default: {})
20
- - **mode**: "insert", "insert_direct", "truncate_insert", "merge", "merge_direct", or "replace". See bellow. (string, required)
20
+ - **mode**: "insert", "insert_direct", "truncate_insert", "merge", "merge_direct", or "replace". See below. (string, required)
21
21
  - **batch_size**: size of a single batch insert (integer, default: 16777216)
22
22
  - **default_timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp into a SQL string. This default_timezone option is used to control the timezone. You can overwrite timezone for each columns using column_options option. (string, default: `UTC`)
23
23
  - **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
@@ -45,7 +45,7 @@ MySQL output plugins for Embulk loads records to MySQL.
45
45
  * Transactional: No. If fails, the target table could be dropped (because MySQL can't rollback DDL).
46
46
  * Resumable: No.
47
47
  * **merge**:
48
- * 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. If the target table doesn't exist, it is created automatically.
48
+ * 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.
49
49
  * Transactional: Yes.
50
50
  * Resumable: Yes.
51
51
  * **merge_direct**:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-15 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -24,8 +24,8 @@ files:
24
24
  - src/main/java/org/embulk/output/mysql/MySQLBatchInsert.java
25
25
  - src/main/java/org/embulk/output/mysql/MySQLOutputConnection.java
26
26
  - src/main/java/org/embulk/output/mysql/MySQLOutputConnector.java
27
- - classpath/embulk-output-jdbc-0.5.0.jar
28
- - classpath/embulk-output-mysql-0.5.0.jar
27
+ - classpath/embulk-output-jdbc-0.5.1.jar
28
+ - classpath/embulk-output-mysql-0.5.1.jar
29
29
  - classpath/mysql-connector-java-5.1.34.jar
30
30
  homepage: https://github.com/embulk/embulk-output-jdbc
31
31
  licenses: