embulk-input-redshift 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/classpath/{embulk-input-jdbc-0.6.0.jar → embulk-input-jdbc-0.6.1.jar} +0 -0
- data/classpath/embulk-input-postgresql-0.6.1.jar +0 -0
- data/classpath/embulk-input-redshift-0.6.1.jar +0 -0
- data/classpath/postgresql-9.4-1205-jdbc41.jar +0 -0
- data/src/main/java/org/embulk/input/RedshiftInputPlugin.java +4 -4
- metadata +6 -10
- data/classpath/embulk-input-postgresql-0.6.0.jar +0 -0
- data/classpath/embulk-input-redshift-0.6.0.jar +0 -0
- data/classpath/jna-4.1.0.jar +0 -0
- data/classpath/jna-platform-4.1.0.jar +0 -0
- data/classpath/postgresql-9.4-1200-jdbc41.jar +0 -0
- data/classpath/slf4j-simple-1.7.7.jar +0 -0
- data/classpath/waffle-jna-1.7.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: b2cabf1e7f1199d9415c1aed4eb115f32ecd21c9
|
4
|
+
data.tar.gz: 85f24d8ad4b709d76e1c198120b597657625eb81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0686028c20a5b706cd34729a5a6cbd9624f70271322a73bcb30c9a68b5b86beee9148786d37007fe3947e2215e72bcf8fa5a37d4e4564f31ec46ad69c538edd3
|
7
|
+
data.tar.gz: 99d62a6282f19d3dc3cc34a058b9d6e6fcd3229bda8c34c84f72e34f57c78cee76def8624deb4adef66dc9fee1334045e89945479ed4942751b8917e9d35979e
|
data/README.md
CHANGED
@@ -17,6 +17,8 @@ Redshift input plugins for Embulk loads records from Redshift.
|
|
17
17
|
- **schema**: destination schema name (string, default: "public")
|
18
18
|
- **where**: WHERE condition to filter the rows (string, default: no-condition)
|
19
19
|
- **fetch_rows**: number of rows to fetch one time (used for java.sql.Statement#setFetchSize) (integer, default: 10000)
|
20
|
+
- **connect_timeout**: timeout for establishment of a database connection. (integer (seconds), default: 300)
|
21
|
+
- **socket_timeout**: timeout for socket read operations. 0 means no timeout. (integer (seconds), default: 1800)
|
20
22
|
- **options**: extra JDBC properties (hash, default: {})
|
21
23
|
- If you write SQL directly,
|
22
24
|
- **query**: SQL to run (string)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -4,11 +4,11 @@ import java.util.Properties;
|
|
4
4
|
import java.sql.Connection;
|
5
5
|
import java.sql.Driver;
|
6
6
|
import java.sql.SQLException;
|
7
|
-
|
7
|
+
|
8
|
+
|
8
9
|
import org.embulk.config.Config;
|
9
10
|
import org.embulk.config.ConfigDefault;
|
10
11
|
import org.embulk.input.jdbc.AbstractJdbcInputPlugin;
|
11
|
-
import org.embulk.input.jdbc.AbstractJdbcInputPlugin;
|
12
12
|
import org.embulk.input.postgresql.PostgreSQLInputConnection;
|
13
13
|
|
14
14
|
public class RedshiftInputPlugin
|
@@ -58,8 +58,8 @@ public class RedshiftInputPlugin
|
|
58
58
|
Properties props = new Properties();
|
59
59
|
props.setProperty("user", t.getUser());
|
60
60
|
props.setProperty("password", t.getPassword());
|
61
|
-
props.setProperty("loginTimeout",
|
62
|
-
props.setProperty("socketTimeout",
|
61
|
+
props.setProperty("loginTimeout", String.valueOf(t.getConnectTimeout())); // seconds
|
62
|
+
props.setProperty("socketTimeout", String.valueOf(t.getSocketTimeout())); // seconds
|
63
63
|
|
64
64
|
// Enable keepalive based on tcp_keepalive_time, tcp_keepalive_intvl and tcp_keepalive_probes kernel parameters.
|
65
65
|
// Socket options TCP_KEEPCNT, TCP_KEEPIDLE, and TCP_KEEPINTVL are not configurable.
|
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Selects records from a table.
|
14
14
|
email:
|
@@ -21,14 +21,10 @@ 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.6.
|
25
|
-
- classpath/embulk-input-postgresql-0.6.
|
26
|
-
- classpath/embulk-input-redshift-0.6.
|
27
|
-
- classpath/
|
28
|
-
- classpath/jna-platform-4.1.0.jar
|
29
|
-
- classpath/postgresql-9.4-1200-jdbc41.jar
|
30
|
-
- classpath/slf4j-simple-1.7.7.jar
|
31
|
-
- classpath/waffle-jna-1.7.jar
|
24
|
+
- classpath/embulk-input-jdbc-0.6.1.jar
|
25
|
+
- classpath/embulk-input-postgresql-0.6.1.jar
|
26
|
+
- classpath/embulk-input-redshift-0.6.1.jar
|
27
|
+
- classpath/postgresql-9.4-1205-jdbc41.jar
|
32
28
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
33
29
|
licenses:
|
34
30
|
- Apache 2.0
|
Binary file
|
Binary file
|
data/classpath/jna-4.1.0.jar
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|