embulk-output-redshift 0.8.1 → 0.8.2

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: f2d854b3e26ff0e2ccee483017fc9450d8652b5d
4
- data.tar.gz: d70bb02e125e2559c1f78b5bc7dcc60bbb66db38
3
+ metadata.gz: f0131232d28716e555ccbed240521fd1f0cfd5bd
4
+ data.tar.gz: b3eccfb6c93f17f14f3640a504f8ede5ae06b9ff
5
5
  SHA512:
6
- metadata.gz: 5f9ef7df4a29ee2349b8b33e9da685402c4567b2f00e922d4c63d135da0d9c9c876315b7e360a171da5feba08ad9b2dc758dbc39f4612d0cce5cbccf42eb2795
7
- data.tar.gz: a6a6f12f171f003cffd9ce0edd10e014160b9430610dd7769588dad28aa8209751bd060cce4bc5ab2cbb63f36700545f79d852823e74726163c3a45de836316f
6
+ metadata.gz: b57cf72537f09672b125b93211a5e15e4da69b45f9f404334f473c25cc82a42d093577f9733985c15597f4c90372b2d04651b622f30f5b9d63eeb663dc11482a
7
+ data.tar.gz: 1d08b9eb2a5b3f2dd66d6ab068038c9c13710e03fe3138f0bd19691f90dd84bfb8ee37fa3e7c7c4247e2f294338b8dd7bfd44e7ebc4ef8d2be612c8dd5b48b0a
@@ -14,8 +14,6 @@ import org.embulk.output.jdbc.TableIdentifier;
14
14
  import org.embulk.spi.Exec;
15
15
  import org.slf4j.Logger;
16
16
 
17
- import com.google.common.base.Optional;
18
-
19
17
  public class RedshiftOutputConnection
20
18
  extends JdbcOutputConnection
21
19
  {
@@ -48,12 +46,9 @@ public class RedshiftOutputConnection
48
46
  @Override
49
47
  protected String buildColumnTypeName(JdbcColumn c)
50
48
  {
51
- // Redshift does not support TEXT type.
52
49
  switch(c.getSimpleTypeName()) {
53
50
  case "CLOB":
54
51
  return "VARCHAR(65535)";
55
- case "TEXT":
56
- return "VARCHAR(65535)";
57
52
  case "BLOB":
58
53
  return "BYTEA";
59
54
  default:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-redshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2019-01-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Inserts or updates records to a table.
14
14
  email:
@@ -25,9 +25,9 @@ files:
25
25
  - classpath/aws-java-sdk-sts-1.10.77.jar
26
26
  - classpath/commons-codec-1.9.jar
27
27
  - classpath/commons-logging-1.2.jar
28
- - classpath/embulk-output-jdbc-0.8.1.jar
29
- - classpath/embulk-output-postgresql-0.8.1.jar
30
- - classpath/embulk-output-redshift-0.8.1.jar
28
+ - classpath/embulk-output-jdbc-0.8.2.jar
29
+ - classpath/embulk-output-postgresql-0.8.2.jar
30
+ - classpath/embulk-output-redshift-0.8.2.jar
31
31
  - classpath/embulk-util-aws-credentials-0.2.21.jar
32
32
  - classpath/httpclient-4.5.2.jar
33
33
  - classpath/httpcore-4.4.4.jar