embulk-output-db2 0.7.6 → 0.7.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 402e289fc7c79f91dce8e11382962b7af6bb85c9
|
4
|
+
data.tar.gz: 177100e78f3dc8fbe370aa19ccf360f47a27d9b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
Binary file
|
Binary file
|
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.
|
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-
|
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.
|
23
|
-
- classpath/embulk-output-jdbc-0.7.
|
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
|