embulk-input-redshift 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/classpath/{embulk-input-jdbc-0.6.4.jar → embulk-input-jdbc-0.7.0.jar} +0 -0
- data/classpath/embulk-input-postgresql-0.7.0.jar +0 -0
- data/classpath/{embulk-input-redshift-0.6.4.jar → embulk-input-redshift-0.7.0.jar} +0 -0
- metadata +5 -5
- data/classpath/embulk-input-postgresql-0.6.4.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0b163980df0fa884ff3deacdb2de037d854036c
|
4
|
+
data.tar.gz: e92075a9a52642561dca3463ee70ee293a1c248f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14635e9900582a3e6558958f7b580bc7f20996913b8b4f4914f436a6763f18c9421181c02d09e9342c915f2b460d73aaac91b52ec44e36ac4f4967093e8b67f1
|
7
|
+
data.tar.gz: b180ad091a0bb7445305fe8e975c60dbf4d91889394048156cfaf0314004cf2c00eef6868b6aecdd6fbebfad9724384a3dfc8e11f0e2ca92cb694fa4ac134618
|
data/README.md
CHANGED
@@ -29,13 +29,14 @@ Redshift input plugins for Embulk loads records from Redshift.
|
|
29
29
|
- **default_timezone**: If the sql type of a column is `date`/`time`/`datetime` and the embulk type is `string`, column values are formatted int this default_timezone. You can overwrite timezone for each columns using column_options option. (string, default: `UTC`)
|
30
30
|
- **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
|
31
31
|
- **value_type**: embulk get values from database as this value_type. Typically, the value_type determines `getXXX` method of `java.sql.PreparedStatement`.
|
32
|
-
(string, default: depends on the sql type of the column. Available values options are: `long`, `double`, `float`, `decimal`, `boolean`, `string`, `date`, `time`, `timestamp`)
|
32
|
+
(string, default: depends on the sql type of the column. Available values options are: `long`, `double`, `float`, `decimal`, `boolean`, `string`, `json`, `date`, `time`, `timestamp`)
|
33
33
|
- **type**: Column values are converted to this embulk type.
|
34
|
-
Available values options are: `boolean`, `long`, `double`, `string`, `timestamp`).
|
34
|
+
Available values options are: `boolean`, `long`, `double`, `string`, `json`, `timestamp`).
|
35
35
|
By default, the embulk type is determined according to the sql type of the column (or value_type if specified).
|
36
36
|
- **timestamp_format**: If the sql type of the column is `date`/`time`/`datetime` and the embulk type is `string`, column values are formatted by this timestamp_format. And if the embulk type is `timestamp`, this timestamp_format may be used in the output plugin. For example, stdout plugin use the timestamp_format, but *csv formatter plugin doesn't use*. (string, default : `%Y-%m-%d` for `date`, `%H:%M:%S` for `time`, `%Y-%m-%d %H:%M:%S` for `timestamp`)
|
37
37
|
- **timezone**: If the sql type of the column is `date`/`time`/`datetime` and the embulk type is `string`, column values are formatted in this timezone.
|
38
38
|
(string, value of default_timezone option is used by default)
|
39
|
+
- **after_select**: if set, this SQL will be executed after the SELECT query in the same transaction.
|
39
40
|
|
40
41
|
## Example
|
41
42
|
|
@@ -82,6 +83,7 @@ in:
|
|
82
83
|
column_options:
|
83
84
|
col1: {type: long}
|
84
85
|
col3: {type: string, timestamp_format: "%Y/%m/%d", timezone: "+0900"}
|
86
|
+
after_select: "update my_table set col5 = '1' where col4 != 'a'"
|
85
87
|
|
86
88
|
```
|
87
89
|
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-redshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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: 2016-
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Selects records from a table.
|
14
14
|
email:
|
@@ -21,9 +21,9 @@ files:
|
|
21
21
|
- build.gradle
|
22
22
|
- lib/embulk/input/redshift.rb
|
23
23
|
- src/main/java/org/embulk/input/RedshiftInputPlugin.java
|
24
|
-
- classpath/embulk-input-jdbc-0.
|
25
|
-
- classpath/embulk-input-postgresql-0.
|
26
|
-
- classpath/embulk-input-redshift-0.
|
24
|
+
- classpath/embulk-input-jdbc-0.7.0.jar
|
25
|
+
- classpath/embulk-input-postgresql-0.7.0.jar
|
26
|
+
- classpath/embulk-input-redshift-0.7.0.jar
|
27
27
|
- classpath/postgresql-9.4-1205-jdbc41.jar
|
28
28
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
29
29
|
licenses:
|
Binary file
|