embulk-input-mysql 0.2.0 → 0.2.1

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: 98f1ee39e44403f1fc127aa32f5735933959679c
4
- data.tar.gz: 6400ddbec69b5fab8036203d74b1c647bed655d9
3
+ metadata.gz: 4f416fe2b7b01cb603bcdc330f0d956988f2756b
4
+ data.tar.gz: 73e22f9633062e6f85bd55c1e231295c332acaaa
5
5
  SHA512:
6
- metadata.gz: 2d09c85084d96eb827156901ff4019d0221644b7b11ab2cf843ad5bb9e8e98ac1483960e085a82c4c2f7746e15415078ea8453c249a6b026abfcb6ed8b88caa2
7
- data.tar.gz: d9a4e91385be44a23b18669413fdaf99bdc5bec588e6c9a965c20f5ad2b52aa4199bbd2e2ac5a237474e5e2d780437f3e38ed94afb3062a2ef11c3ff9af43a78
6
+ metadata.gz: 4d4519bc01ab852dc20dd8ed219c460b163a524c097e9362e80575ffbb3e3b18bb989c8b2eeb4908eb3c535b36278d4537f6d8d0135b22eea3335f520e0abe94
7
+ data.tar.gz: 5c2b2044aa61697b7fac315d7077838267d24f56147ca0f31f9d039ef2692e5b7b433629550e25356c5accfcc0a6861c996ba8ddc65aa871b67118f72769227b
@@ -24,7 +24,10 @@ public class MySQLInputPlugin
24
24
  props.setProperty("user", task.getUser());
25
25
  props.setProperty("password", task.getPassword());
26
26
 
27
- props.setProperty("rewriteBatchedStatements", "true");
27
+ // convert 0000-00-00 to NULL to avoid this exceptoin:
28
+ // java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date
29
+ props.setProperty("zeroDateTimeBehavior", "convertToNull");
30
+
28
31
  props.setProperty("useCompression", "true");
29
32
 
30
33
  props.setProperty("connectTimeout", "300000"); // milliseconds
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-input-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - FURUHASHI Sadayuki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-16 00:00:00.000000000 Z
11
+ date: 2015-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: JDBC input plugin is an Embulk plugin that loads records from JDBC so that any output plugins can receive the records. Search the output plugins by "embulk-output" keyword.
14
14
  email:
@@ -22,8 +22,8 @@ files:
22
22
  - lib/embulk/input/mysql.rb
23
23
  - src/main/java/org/embulk/input/MySQLInputPlugin.java
24
24
  - src/main/java/org/embulk/input/mysql/MySQLInputConnection.java
25
- - classpath/embulk-input-jdbc-0.2.0.jar
26
- - classpath/embulk-input-mysql-0.2.0.jar
25
+ - classpath/embulk-input-jdbc-0.2.1.jar
26
+ - classpath/embulk-input-mysql-0.2.1.jar
27
27
  - classpath/mysql-connector-java-5.1.34.jar
28
28
  homepage: https://github.com/embulk/embulk-input-jdbc
29
29
  licenses: