embulk-input-sqlserver 0.6.0 → 0.6.1
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 +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-sqlserver-0.6.1.jar +0 -0
- data/src/main/java/org/embulk/input/SQLServerInputPlugin.java +1 -0
- metadata +4 -4
- data/classpath/embulk-input-sqlserver-0.6.0.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: 1a87e477675a9b33eb15cd365f28172ddecd6299
|
|
4
|
+
data.tar.gz: 578022529bd3e143500548fc16042e7d1e835f3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf8600ff72ecae21218f42e7a2f30662236238bebf571f69f432408d8246e763bd8238eef8f17dd8478e11b5c52238161157fdfe810f3d5fe2089aa488f4ee3f
|
|
7
|
+
data.tar.gz: a80b6e64a70fc112e19458d29c6a7b2968ba9c82b05fc41f81cd51f184ebc56471a94b3db6e1e14a08137434752c8f423e6ad595d98705503d05c4abc79d1664
|
data/README.md
CHANGED
|
@@ -29,6 +29,8 @@ embulk "-J-Djava.library.path=C:\drivers" run input-sqlserver.yml
|
|
|
29
29
|
- **select**: comma-separated list of columns to select (string, default: "*")
|
|
30
30
|
- **where**: WHERE condition to filter the rows (string, default: no-condition)
|
|
31
31
|
- **fetch_rows**: number of rows to fetch one time (used for java.sql.Statement#setFetchSize) (integer, default: 10000)
|
|
32
|
+
- **connect_timeout**: timeout for the driver to connect. 0 means the default of SQL Server (15 by default). (integer (seconds), default: 300)
|
|
33
|
+
- **socket_timeout**: timeout for executing the query. 0 means no timeout. (integer (seconds), default: 1800)
|
|
32
34
|
- **options**: extra JDBC properties (hash, default: {})
|
|
33
35
|
- **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`)
|
|
34
36
|
- **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
|
|
Binary file
|
|
Binary file
|
|
@@ -118,6 +118,7 @@ public class SQLServerInputPlugin
|
|
|
118
118
|
if (sqlServerTask.getPassword().isPresent()) {
|
|
119
119
|
props.setProperty("password", sqlServerTask.getPassword().get());
|
|
120
120
|
}
|
|
121
|
+
props.setProperty("loginTimeout", String.valueOf(sqlServerTask.getConnectTimeout())); // seconds
|
|
121
122
|
props.putAll(sqlServerTask.getOptions());
|
|
122
123
|
|
|
123
124
|
if (sqlServerTask.getDriverPath().isPresent()) {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: embulk-input-sqlserver
|
|
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:
|
|
@@ -22,8 +22,8 @@ files:
|
|
|
22
22
|
- lib/embulk/input/sqlserver.rb
|
|
23
23
|
- src/main/java/org/embulk/input/SQLServerInputPlugin.java
|
|
24
24
|
- src/main/java/org/embulk/input/sqlserver/SQLServerInputConnection.java
|
|
25
|
-
- classpath/embulk-input-jdbc-0.6.
|
|
26
|
-
- classpath/embulk-input-sqlserver-0.6.
|
|
25
|
+
- classpath/embulk-input-jdbc-0.6.1.jar
|
|
26
|
+
- classpath/embulk-input-sqlserver-0.6.1.jar
|
|
27
27
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
|
28
28
|
licenses:
|
|
29
29
|
- Apache 2.0
|
|
Binary file
|