embulk-input-jdbc 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bab76f99601161e312ae588c0f5d1c6ed7a5ca7c
4
- data.tar.gz: 3394307ce36d292c46de24aafa14a79859cd6b13
3
+ metadata.gz: 0f0e8890c29d644c993bd0507a380802fb4c0e2c
4
+ data.tar.gz: 535b176cb211f3115482534f2a6b0373923c9e15
5
5
  SHA512:
6
- metadata.gz: ae4abde050d7ff724733096a16e0461a5d5b31d0877e0ab76ebe4b763c00507b9bca116ad19f7b27e9ce3870814b843589133f4aca0c2a530680594cc81261b4
7
- data.tar.gz: a7b72823dd55164287445e38a2d3d5b2c18b76c638d1c8d8c38aa0d6cd5af987a55f818c43b8a3627c06653a3bbec6503855740a005fb97e6dafc647035cc2ca
6
+ metadata.gz: 4f774a9727295f35f9e16c06e9fd57d6918398f44ab070a55606b62a9402fa3857b1cb1823f67ef2388e1a016c016a443d2d40bb3b41c7fda28c0f45991378bd
7
+ data.tar.gz: 2fe9ba6cbf6d2cc768f0d641371e0a08e464ee9cbfa91bf5016bea97ac9bf1e1a24ecb56110e9fe49c22251a9f1df56c59b9115bfae73c2622f2bcc02227a37d
@@ -274,7 +274,7 @@ public abstract class AbstractJdbcInputPlugin
274
274
  String upperTableName = tableName.toUpperCase();
275
275
  String lowerTableName = tableName.toLowerCase();
276
276
  boolean upperExists = con.tableExists(upperTableName);
277
- boolean lowerExists = con.tableExists(upperTableName);
277
+ boolean lowerExists = con.tableExists(lowerTableName);
278
278
  if (upperExists && lowerExists) {
279
279
  throw new ConfigException(String.format("Cannot specify table '%s' because both '%s' and '%s' exist.",
280
280
  tableName, upperTableName, lowerTableName));
@@ -189,7 +189,7 @@ public class ColumnGetterFactory
189
189
  {
190
190
  throw new UnsupportedOperationException(
191
191
  String.format(ENGLISH,
192
- "Unsupported type %s (sqlType=%d) of '%s' column. Please add '%s: {type: string}' to 'column_options: {...}' option to convert the values to strings, or exclude the column from 'select:' option",
192
+ "Unsupported type %s (sqlType=%d) of '%s' column. Please add '%s: {value_type: string}' to 'column_options: {...}' option to convert the values to strings, or exclude the column from 'select:' option",
193
193
  column.getTypeName(), column.getSqlType(), column.getName(), column.getName()));
194
194
  }
195
195
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-jdbc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.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-08-26 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Selects records from a table.
14
14
  email:
@@ -18,7 +18,7 @@ extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
20
  - build.gradle
21
- - classpath/embulk-input-jdbc-0.7.3.jar
21
+ - classpath/embulk-input-jdbc-0.7.4.jar
22
22
  - lib/embulk/input/jdbc.rb
23
23
  - src/main/java/org/embulk/input/JdbcInputPlugin.java
24
24
  - src/main/java/org/embulk/input/jdbc/AbstractJdbcInputPlugin.java