embulk-output-mysql 0.3.0 → 0.4.0

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: b35f2d66f92a633b5326a958d7995b73f02f3737
4
- data.tar.gz: a059b0f6436a26896cecf2e3bbfb6d305d109405
3
+ metadata.gz: bc85d0eec3abc612528bee33468ae0dcac215ca5
4
+ data.tar.gz: 2ffabfc957e59e938bc4f6205c07e89deba9cabc
5
5
  SHA512:
6
- metadata.gz: 9bed384f0d48c7f46bb5bff652b78d2f11080ae569fb2c91229f184c07ef923379b0334f9563d8e3048944358138a8ba6865e14ea0c40033dd6a463846913674
7
- data.tar.gz: 03ab7574a43af5fa86e9db38d9d7ad28221182724fc29c9ed5355d259040dcb9bb25f212bd79c2edb27b0361f625ca91ff64c1c8793515dd3dc744a1f7730dac
6
+ metadata.gz: f200a8c95ebb8dea22d65594c0563b5295a012a46882c61f6e053898504aae7593c4ca1a11c539a39d32c5033765fd68dd843f45155ccfd5728a3ae36f2013ec
7
+ data.tar.gz: ff514844e2c0e27a0d208cbb288c1692bc61d1c8409e9830bb0de4a177069f2f6a503fb621c6e2844f40a57fcc51d9e1d05f7e061fb3686429deb33dfd33ac24
data/README.md CHANGED
@@ -19,12 +19,12 @@ MySQL output plugins for Embulk loads records to MySQL.
19
19
  - **options**: extra connection properties (hash, default: {})
20
20
  - **mode**: "insert", "insert_direct", "truncate_insert", "merge", "merge_direct", or "replace". See bellow. (string, required)
21
21
  - **batch_size**: size of a single batch insert (integer, default: 16777216)
22
- - **default_timezone**: If input column type (embulk type) is timestamp and destination column type is `string` or `nstring`, this plugin needs to format the timestamp into a 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`)
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.
24
24
  - **type**: type of a column when this plugin creates new tables (e.g. `VARCHAR(255)`, `INTEGER NOT NULL UNIQUE`). This used when this plugin creates intermediate tables (insert, insert_truncate and merge modes), when it creates the target table (insert_direct, merge_direct and replace modes), and when it creates nonexistent target table automatically. (string, default: depends on input column type. `BIGINT` if input column type is long, `BOOLEAN` if boolean, `DOUBLE PRECISION` if double, `CLOB` if string, `TIMESTAMP` if timestamp)
25
25
  - **value_type**: This plugin converts input column type (embulk type) into a database type to build a INSERT statement. This value_type option controls the type of the value in a INSERT statement. (string, default: depends on input column type. Available values options are: `byte`, `short`, `int`, `long`, `double`, `float`, `boolean`, `string`, `nstring`, `date`, `time`, `timestamp`, `decimal`, `null`, `pass`)
26
26
  - **timestamp_format**: If input column type (embulk type) is timestamp and value_type is `string` or `nstring`, this plugin needs to format the timestamp value into a string. This timestamp_format option is used to control the format of the timestamp. (string, default: `%Y-%m-%d %H:%M:%S.%6N`)
27
- - **timezone**: If input column type (embulk type) is timestamp and value_type is `string` or `nstring`, this plugin needs to format the timestamp value into a string. And if the input column type is timestamp and value_type is `date`, this plugin needs to consider timezone. In those cases, this timezone option is used to control the timezone. (string, value of default_timezone option is used by default)
27
+ - **timezone**: If input column type (embulk type) is timestamp, this plugin needs to format the timestamp value into a SQL string. In this cases, this timezone option is used to control the timezone. (string, value of default_timezone option is used by default)
28
28
 
29
29
  ### Modes
30
30
 
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-19 00:00:00.000000000 Z
11
+ date: 2015-06-11 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.3.0.jar
28
- - classpath/embulk-output-mysql-0.3.0.jar
27
+ - classpath/embulk-output-jdbc-0.4.0.jar
28
+ - classpath/embulk-output-mysql-0.4.0.jar
29
29
  - classpath/mysql-connector-java-5.1.34.jar
30
30
  homepage: https://github.com/embulk/embulk-output-jdbc
31
31
  licenses: