embulk-output-db2 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4daef7986b4f085c07ded821e3ca56da6add97e1
4
- data.tar.gz: dfc1387013a71c00b4906667efa7a1afe0e0790f
3
+ metadata.gz: 402e289fc7c79f91dce8e11382962b7af6bb85c9
4
+ data.tar.gz: 177100e78f3dc8fbe370aa19ccf360f47a27d9b9
5
5
  SHA512:
6
- metadata.gz: dd64df0b9b622cc504648bfe58b05fdc6a588c8fe5a00dc34bf70d592ec7074887fcd45d52c12a8d0ff8277f565946e5ce497a5e19d966363ddd55f676ad4c42
7
- data.tar.gz: 119c97bac5fd3366bbfd569959f9c4f7a8a8a445e550476af207c76ad98d6a95a1946a960b6f850340ef8be3ce7284b06b81aed8eab6e804dfc7784b20a0b7ce
6
+ metadata.gz: 297f786ebdd99af36dd1b10d6e20a9a2879174198724105aa0363418e54f44db0575d45ba00bca1a5d21ae15f30393048774f23deadc39b78410fbbb07c5820b
7
+ data.tar.gz: 1cf624b5efc3937a61faf487b73d1e9582cf2a7975dcea745bc2cbcb4994fe6dea8055358c3b07ad63dbe4fb2892b63439aaec74dbbe588f19290ccc133ae339
data/README.md CHANGED
@@ -31,6 +31,7 @@ DB2 output plugins for Embulk loads records to DB2.
31
31
  - **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 the sql type of the column. Available values options are: `byte`, `short`, `int`, `long`, `double`, `float`, `boolean`, `string`, `nstring`, `date`, `time`, `timestamp`, `decimal`, `json`, `null`, `pass`)
32
32
  - **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`)
33
33
  - **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)
34
+ - **before_load**: if set, this SQL will be executed before loading all records. In truncate_insert mode, the SQL will be executed after truncating. replace mode doesn't support this option.
34
35
  - **after_load**: if set, this SQL will be executed after loading all records.
35
36
 
36
37
  ### Modes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-db2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -19,8 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - README.md
21
21
  - build.gradle
22
- - classpath/embulk-output-db2-0.7.6.jar
23
- - classpath/embulk-output-jdbc-0.7.6.jar
22
+ - classpath/embulk-output-db2-0.7.7.jar
23
+ - classpath/embulk-output-jdbc-0.7.7.jar
24
24
  - lib/embulk/output/db2.rb
25
25
  - out/test/db2/data/test-char.csv
26
26
  - out/test/db2/data/test-datetime.csv