embulk-input-sqlserver 0.6.3 → 0.6.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2cb4a498b4bad8202c9c613b9b8c8f68daf31535
|
|
4
|
+
data.tar.gz: 1bdc272d08a648a3b1174f31bec6faaf5e692f0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b194b0688289014d401998a77c82895012649b012f8c5e2a6a1b616dcb4270fabd7cf7364a500580bff2bda6419a9004d99ce2e86492d035ba952350ce34b9f2
|
|
7
|
+
data.tar.gz: 612ef59beba25aa306a93054d74c22ff81b4f96aee4c596cb734cbd786dc6a16d1ee40de766b27d66d8114c8829355771416aeaa5d41bb99dc881d82cd084a2c
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,6 @@ package org.embulk.input.sqlserver;
|
|
|
2
2
|
|
|
3
3
|
import java.sql.Connection;
|
|
4
4
|
import java.sql.SQLException;
|
|
5
|
-
|
|
6
5
|
import org.embulk.input.jdbc.JdbcInputConnection;
|
|
7
6
|
|
|
8
7
|
public class SQLServerInputConnection extends JdbcInputConnection {
|
|
@@ -18,4 +17,15 @@ public class SQLServerInputConnection extends JdbcInputConnection {
|
|
|
18
17
|
// NOP
|
|
19
18
|
}
|
|
20
19
|
|
|
20
|
+
@Override
|
|
21
|
+
protected String buildTableName(String tableName)
|
|
22
|
+
{
|
|
23
|
+
StringBuilder sb = new StringBuilder();
|
|
24
|
+
if (schemaName != null) {
|
|
25
|
+
sb.append(quoteIdentifierString(schemaName)).append(".");
|
|
26
|
+
}
|
|
27
|
+
sb.append(quoteIdentifierString(tableName));
|
|
28
|
+
return sb.toString();
|
|
29
|
+
}
|
|
30
|
+
|
|
21
31
|
}
|
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.4
|
|
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-01-
|
|
11
|
+
date: 2016-01-15 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.4.jar
|
|
26
|
+
- classpath/embulk-input-sqlserver-0.6.4.jar
|
|
27
27
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
|
28
28
|
licenses:
|
|
29
29
|
- Apache 2.0
|