embulk-output-sqlserver 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: 24760f99c4f763e7f811403da4e1e8583ce25ff8
4
- data.tar.gz: 15eaf587f3d801259063fb6acabf10ce159315b9
3
+ metadata.gz: 3bac413c03be28dddc42b0e6420e4619c9bc5f6b
4
+ data.tar.gz: 0853207910a9bc366e8a281c18500a3fba54880c
5
5
  SHA512:
6
- metadata.gz: 12e9d32e0894a028c9e1c44510a80e0c143d4779248a8a2d62f435ff205b0686e787928c63788026736c07e3c8e840615bcf09b2889cbc72468cfb85152e4f18
7
- data.tar.gz: 75fca8e3f2d8d15e4d83ded48b7e623996c76bd93d6cbdaf75722ae8bf83b505e7a95f57fb9e4afc3444f730d6ff09d7dd474b0be37ca4a8381ce9d62b31eae8
6
+ metadata.gz: 2f8ade7413688347ee7cca7c628b853e14493847324f478eb9bee3da8572a5347a45b538c4754c7e4ffc28c0f32dfa55eecc95516b8a87f69f9e1ebf156242a8
7
+ data.tar.gz: 8b888408df9608c6e60b601356115ce0845408b6540166ee465e683a8944e03ae8b9c012d04d89a514c74b6390204bce52e810b74db0e0b343f503262248c772
data/README.md CHANGED
@@ -39,6 +39,7 @@ embulk "-J-Djava.library.path=C:\drivers" run input-sqlserver.yml
39
39
  - **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`)
40
40
  - **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`)
41
41
  - **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)
42
+ - **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.
42
43
  - **after_load**: if set, this SQL will be executed after loading all records.
43
44
 
44
45
  ### Modes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-sqlserver
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-jdbc-0.7.6.jar
23
- - classpath/embulk-output-sqlserver-0.7.6.jar
22
+ - classpath/embulk-output-jdbc-0.7.7.jar
23
+ - classpath/embulk-output-sqlserver-0.7.7.jar
24
24
  - classpath/jtds-1.3.1.jar
25
25
  - lib/embulk/output/sqlserver.rb
26
26
  - src/main/java/org/embulk/output/SQLServerOutputPlugin.java