embulk-output-redshift 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: 3c0f8770f92851e51015fe258af7e0a9dfa85806
4
- data.tar.gz: 3c3b13c103bb3528ae75e6baa907e69d43041758
3
+ metadata.gz: 17e9658b80a721995d6bb7e3cb4aed8430c33997
4
+ data.tar.gz: 69b707097ec9336c9869114794ff5bb2d45461d6
5
5
  SHA512:
6
- metadata.gz: ddd47e94ffa8520fb36dcab89e62de148828d6cfc1d2d511bab8ea68c685a37bd1ef7a7a24e8f8a7c7d7f08d384385b95c9f9d8c315861e6cd2d5e212276e0f7
7
- data.tar.gz: 0192bd794c4275b2811d753e7bba34adb6c9f0eab3a3283bcdf16da5a74f28aadb7592ee6a2b6437df1121bf4a06077b838040d1fb5ba7a2ca0a12eca7643217
6
+ metadata.gz: 280f48cd528c7151a554b1258b7fbfcb97b287e3de8f61f261e1ebc891418bc02564cac40e2885c6f062bdfdc3410a4071df17b2ef0f2a7aec85b19cb748fe5a
7
+ data.tar.gz: bcac2333b188fb638ecd06507db9eb0f8e68d4ae553aef3385215cc7c3de4cef8c84074203dbd29740e21265def0faeb2e7c8dcb2918758e12a3f30ca088601b
data/README.md CHANGED
@@ -75,6 +75,7 @@ Redshift output plugin for Embulk loads records to Redshift.
75
75
  - **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`)
76
76
  - **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`)
77
77
  - **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)
78
+ - **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.
78
79
  - **after_load**: if set, this SQL will be executed after loading all records.
79
80
 
80
81
  ### Modes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-redshift
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:
@@ -26,9 +26,9 @@ files:
26
26
  - classpath/commons-codec-1.6.jar
27
27
  - classpath/commons-logging-1.1.3.jar
28
28
  - classpath/embulk-core-0.8.9.jar
29
- - classpath/embulk-output-jdbc-0.7.6.jar
30
- - classpath/embulk-output-postgresql-0.7.6.jar
31
- - classpath/embulk-output-redshift-0.7.6.jar
29
+ - classpath/embulk-output-jdbc-0.7.7.jar
30
+ - classpath/embulk-output-postgresql-0.7.7.jar
31
+ - classpath/embulk-output-redshift-0.7.7.jar
32
32
  - classpath/embulk-util-aws-credentials-0.2.8.jar
33
33
  - classpath/httpclient-4.3.6.jar
34
34
  - classpath/httpcore-4.3.3.jar